@@ -0,0 +1,2077 @@
+/* Copyright (c) 2018 Sambhav Kothari%0A * All rights reserved.%0A *%0A * Redistribution and use in source and binary forms, with or without%0A * modification, are permitted provided that the following conditions%0A * are met:%0A * 1. Redistributions of source code must retain the above copyright%0A *    notice, this list of conditions and the following disclaimer.%0A * 2. Redistributions in binary form must reproduce the above copyright%0A *    notice, this list of conditions and the following disclaimer in the%0A *    documentation and/or other materials provided with the distribution.%0A * 3. Neither the name of the MusicBrainz project nor the names of the%0A *    contributors may be used to endorse or promote products derived from%0A *    this software without specific prior written permission.%0A *%0A * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS%0A * %22AS IS%22 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT%0A * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR%0A * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT%0A * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,%0A * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED%0A * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR%0A * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF%0A * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING%0A * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS%0A * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.%0A */%0A%0Apackage org.musicbrainz.search.solrwriter.moxy;%0A%0Aimport org.musicbrainz.mmd2.Gender;%0A%0Aimport javax.xml.bind.annotation.adapters.XmlAdapter;%0A%0Apublic class StringGenderAdapter extends XmlAdapter%3CString, Gender%3E %7B%0A%0A    @Override%0A    public Gender unmarshal(String v) throws Exception %7B%0A        throw new UnsupportedOperationException(%22Umarshalling json back to model not supported%22);%0A    %7D%0A%0A    @Override%0A    public String marshal(Gender v) throws Exception %7B%0A        return v.getContent();%0A    %7D%0A%0A%7D%0A

Fix json artist gender output