Buggy code:
public class DALIUpload { public final UploadFile file ; public final URI uri ; public final String label ; protected final UWSFileManager fileManager ; public DALIUpload ( final String label , final UploadFile file ) { } public DALIUpload ( final String label , final URI uri , final UWSFileManager fileManager ) { } public boolean isByReference ( ) { } public InputStream open ( ) throws IOException , UnsupportedURIProtocolException { } @ Override public String toString ( ) { } protected static final String DALI_UPLOAD_REGEXP = "[^,]+,\\s*(param:.+|.+)" ; protected static final String TAP_UPLOAD_REGEXP = ( ( ( DALIUpload . DALI_UPLOAD_REGEXP ) + "(\\s*;\\s*" ) + ( DALIUpload . DALI_UPLOAD_REGEXP ) ) + ")*" ; public static final List < DALIUpload > getDALIUploads ( final Map < String , Object > requestParams , final boolean allowTAPSyntax , final UWSFileManager fileManager ) throws TAPException { } protected static void fetchDALIUploads ( final ArrayList < DALIUpload > uploads , final ArrayList < String > usedFiles , String uploadParam , final Map < String , Object > parameters , final boolean allowTAPSyntax , final UWSFileManager fileManager ) throws TAPException { } protected static DALIUpload fetchDALIUpload ( final String uploadParam , final Map < String , Object > parameters , final UWSFileManager fileManager ) throws TAPException { } protected static String [ ] parseDALIParam ( final String definition ) throws TAPException { int sep = definition . indexOf ( ',' ) ; if ( sep <= 0 ) throw new TAPException ( "A<seq2seq4repair_space>DALI<seq2seq4repair_space>parameter<seq2seq4repair_space>must<seq2seq4repair_space>be<seq2seq4repair_space>a<seq2seq4repair_space>pair<seq2seq4repair_space>whose<seq2seq4repair_space>the<seq2seq4repair_space>items<seq2seq4repair_space>are<seq2seq4repair_space>separated<seq2seq4repair_space>by<seq2seq4repair_space>a<seq2seq4repair_space>colon!" , UWSException . INTERNAL_SERVER_ERROR ) ; String [ ] parts = new String [ ] { definition . substring ( 0 , sep ) , definition . substring ( ( sep + 1 ) ) } ; if ( ! ( parts [ 0 ] . matches ( "[a-zA-Z][a-zA-Z0-9_]*" ) ) ) <START_BUG> throw new TAPException ( ( ( "Wrong<seq2seq4repair_space>uploaded<seq2seq4repair_space>item<seq2seq4repair_space>name<seq2seq4repair_space>syntax:<seq2seq4repair_space>\"" + ( parts [ 0 ] ) ) + "\"!<seq2seq4repair_space>An<seq2seq4repair_space>uploaded<seq2seq4repair_space>item<seq2seq4repair_space>must<seq2seq4repair_space>have<seq2seq4repair_space>a<seq2seq4repair_space>label<seq2seq4repair_space>with<seq2seq4repair_space>the<seq2seq4repair_space>syntax:<seq2seq4repair_space>[a-zA-Z][a-zA-Z0-9_]*." ) , UWSException . BAD_REQUEST ) ; <END_BUG> else if ( ! ( parts [ 1 ] . matches ( "[a-zA-Z][a-zA-Z0-9\\+\\.\\-]*:.+" ) ) ) throw new TAPException ( ( ( "Bad<seq2seq4repair_space>URI<seq2seq4repair_space>syntax:<seq2seq4repair_space>\"" + ( parts [ 1 ] ) ) + "\"!<seq2seq4repair_space>A<seq2seq4repair_space>URI<seq2seq4repair_space>must<seq2seq4repair_space>start<seq2seq4repair_space>with:<seq2seq4repair_space>\"<scheme>:\",<seq2seq4repair_space>where<seq2seq4repair_space><scheme>=\"[a-zA-Z][a-zA-Z0-9+.-]*\"." ) , UWSException . BAD_REQUEST ) ; return parts ; } protected static final DALIUpload buildDALIUpload ( final String label , String uri , final Map < String , Object > parameters , final UWSFileManager fileManager ) throws TAPException { } }

Fix:
throw new TAPException ( ( ( "Wrong<seq2seq4repair_space>uploaded<seq2seq4repair_space>item<seq2seq4repair_space>name<seq2seq4repair_space>syntax:<seq2seq4repair_space>\"" + ( parts [ 0 ] ) ) + "\"!<seq2seq4repair_space>An<seq2seq4repair_space>uploaded<seq2seq4repair_space>item<seq2seq4repair_space>must<seq2seq4repair_space>have<seq2seq4repair_space>a<seq2seq4repair_space>label<seq2seq4repair_space>respecting<seq2seq4repair_space>the<seq2seq4repair_space>\'regular_identifier\'<seq2seq4repair_space>production<seq2seq4repair_space>of<seq2seq4repair_space>ADQL<seq2seq4repair_space>2.0<seq2seq4repair_space>(regular<seq2seq4repair_space>expression:<seq2seq4repair_space>[a-zA-Z][a-zA-Z0-9_]*)." ) , UWSException . BAD_REQUEST ) ;