nus-yam/ex-repair huggingface dataset:
Buggy code:
public class DebugFragment extends ListFragment implements AdapterView . OnItemClickListener { @ Override public View onCreateView ( LayoutInflater inflater , ViewGroup container , Bundle savedInstanceState ) { } public void updateArray ( ArrayList < DataPacket > newData ) { <START_BUG> DebugAdapter adapter = new DebugAdapter ( getActivity ( ) , layout . debug_list , newData ) ; <END_BUG> setListAdapter ( adapter ) ; } @ Override public void onItemClick ( AdapterView < ? > parent , View view , int position , long id ) { } No newline ; at end ; of file ; }

Fix:
DebugAdapter adapter = new DebugAdapter ( getActivity ( ) , layout . fragment_debug , newData ) ;
Buggy code:
public class PropPanelPackage extends PropPanelNamespace implements PluggablePropertyPanel { protected PropPanelButton _stereotypeButton ; public PropPanelPackage ( ) { } PropPanelPackage ( String name , ImageIcon icon , int columns ) { } public void addStereotype ( ) { } public void addActor ( ) { } public void addUseCase ( ) { } public String formatElement ( MModelElement element ) { } public void addPackage ( MModelElement element ) { } public void addDataType ( MModelElement element ) { } public void addActor ( MModelElement element ) { } public void addInterface ( MModelElement element ) { } public void addUseCase ( MModelElement element ) { } public void deleteElement ( MModelElement element ) { } public void addStereotype ( MModelElement element ) { } public void addDataType ( ) { } public void openElement ( MModelElement element ) { } public void navigateElement ( MModelElement element ) { } public void addClass ( MModelElement element ) { } protected boolean isAcceptibleBaseMetaClass ( String baseClass ) { } public Class getClassForPanel ( ) { } public String getModuleName ( ) { } public String getModuleDescription ( ) { } public String getModuleAuthor ( ) { } public String getModuleVersion ( ) { <START_BUG> return ArgoVersion . VERSION ; <END_BUG> } public String getModuleKey ( ) { } }

Fix:
return ArgoVersion . getVersion ( ) ;
Buggy code:
public abstract class AbstractDefaultAjaxBehavior extends AbstractAjaxBehavior { private static final long serialVersionUID = 1L ; public static final ResourceReference INDICATOR = new ResourceReference ( AbstractDefaultAjaxBehavior . class , "indicator.gif" ) ; private static final ResourceReference JAVASCRIPT_DEBUG = new JavascriptResourceReference ( AbstractDefaultAjaxBehavior . class , "wicket-ajax-debug.js" ) ; protected void onBind ( ) { } public void renderHead ( IHeaderResponse response ) { } protected IAjaxCallDecorator getAjaxCallDecorator ( ) { } protected CharSequence getCallbackScript ( ) { } protected CharSequence getCallbackScript ( boolean onlyTargetActivePage ) { } protected CharSequence getPreconditionScript ( ) { <START_BUG> return "return<seq2seq4repair_space>Wicket.$$(this)" ; <END_BUG> } protected CharSequence getFailureScript ( ) { } protected CharSequence getSuccessScript ( ) { } protected CharSequence generateCallbackScript ( final CharSequence partialCall ) { } protected String getChannelName ( ) { } private String findIndicatorId ( ) { } public final void onRequest ( ) { } protected abstract void respond ( AjaxRequestTarget target ) { } public static final CharSequence throttleScript ( CharSequence script , String throttleId , Duration throttleDelay ) { } }

Fix:
return ( "return<seq2seq4repair_space>Wicket.$('" + ( getComponent ( ) . getMarkupId ( ) ) ) + "')<seq2seq4repair_space>!=<seq2seq4repair_space>null;" ;
Buggy code:
public class PatchToolImpl implements PatchTool { private final InstallationManager manager ; private final ModificationCompletionCallback callback ; private final IdentityPatchRunner runner ; public PatchToolImpl ( final InstallationManager manager ) { } public PatchToolImpl ( final InstallationManager manager , final InstallationManager . ModificationCompletionCallback callback ) { } @ Override public PatchInfo getPatchInfo ( ) { } @ Override public PatchingResult applyPatch ( final File file , final ContentVerificationPolicy contentPolicy ) throws PatchingException { } @ Override public PatchingResult applyPatch ( final URL url , final ContentVerificationPolicy contentPolicy ) throws PatchingException { } @ Override public PatchingResult applyPatch ( final InputStream is , final ContentVerificationPolicy contentPolicy ) throws PatchingException { File workDir = null ; try { workDir = IdentityPatchRunner . createTempDir ( ) ; final File cachedContent = new File ( workDir , "content" ) ; IoUtils . copy ( is , cachedContent ) ; ZipUtils . unzip ( cachedContent , workDir ) ; return execute ( workDir , contentPolicy ) ; } catch ( Exception e ) { throw PatchToolImpl . rethrowException ( e ) ; } finally { if ( ( workDir != null ) && ( ! ( IoUtils . recursiveDelete ( workDir ) ) ) ) { <START_BUG> ROOT_LOGGER . debugf ( "failed<seq2seq4repair_space>to<seq2seq4repair_space>remove<seq2seq4repair_space>work<seq2seq4repair_space>directory<seq2seq4repair_space>(%s)" , workDir ) ; <END_BUG> } } } @ Override public PatchingResult rollback ( final String patchId , final ContentVerificationPolicy contentPolicy , final boolean rollbackTo , final boolean resetConfiguration ) throws PatchingException { } @ Override public PatchingResult rollbackLast ( final ContentVerificationPolicy contentPolicy , final boolean resetConfiguration ) throws PatchingException { } protected PatchingResult execute ( final File workDir , final ContentVerificationPolicy contentPolicy ) throws IOException , XMLStreamException , PatchingException { } static PatchingException rethrowException ( final Exception e ) { } }

Fix:
ROOT_LOGGER . cannotDeleteFile ( workDir . getAbsolutePath ( ) ) ;
Buggy code:
class GradleTaskConfigParser { private static final Logger logger = Logger . getLoggerFor ( GradleTaskConfigParser . class ) ; private static final String GRADLE_HOME = "GRADLE_HOME" ; private static final String GRADLE_BIN = "bin" ; private static final String PATH = "PATH" ; private static final String OS_NAME = "os.name" ; private final ExecutionConfiguration configuration ; private final List < String > tasks = new ArrayList < String > ( ) ; private final List < String > options = new ArrayList < String > ( ) ; private String workingDirectory ; private Map < String , String > environment = new HashMap < String , String > ( ) ; private boolean useWrapper ; private boolean makeWrapperExecutable ; private String gradleHome ; private GradleTaskConfigParser ( ExecutionConfiguration config ) { } GradleTaskConfigParser withEnvironment ( Map < String , String > environment ) { } GradleTaskConfigParser withWorkingDirectory ( String workingDirectory ) { <START_BUG> this . workingDirectory = workingDirectory . replace ( "\\" , File . separator ) ; <END_BUG> return this ; } GradleTaskConfigParser useWrapper ( String propertyKey ) { } GradleTaskConfigParser makeWrapperExecutable ( String propertyKey ) { } GradleTaskConfigParser withGradleHome ( String propertyKey ) { } GradleTaskConfigParser withTasks ( String propertyKey ) { } GradleTaskConfigParser withOption ( String propertyKey , String option ) { } GradleTaskConfigParser withAdditionalOptions ( String propertyKey ) { } List < String > build ( ) { } public static GradleTaskConfigParser fromConfig ( ExecutionConfiguration config ) { } private void setGradleCommand ( List < String > command ) { } private void setGradlewCommand ( List < String > command ) { } private void addExecutablePermission ( String file ) { } private String getGradleHome ( ) { } private String getExecutablePath ( String command ) { } private boolean isPropertySet ( String propertyKey ) { } private static boolean isSet ( String value ) { } private boolean isWindows ( ) { } private String getEnvironmentVariable ( String property ) { } }

Fix:
this . workingDirectory = workingDirectory ;
Buggy code:
public class ServerRemoveHandler extends AbstractRemoveStepHandler { public static final String OPERATION_NAME = REMOVE ; public static final ServerRemoveHandler INSTANCE = new ServerRemoveHandler ( ) ; protected ServerRemoveHandler ( ) { } @ Override protected void performRemove ( OperationContext context , ModelNode operation , ModelNode model ) throws OperationFailedException { super . performRemove ( context , operation , model ) ; final PathAddress address = PathAddress . pathAddress ( operation . get ( OP_ADDR ) ) ; final String serverName = address . getLastElement ( ) . getValue ( ) ; final ModelNode verifyOp = new ModelNode ( ) ; verifyOp . get ( OP ) . set ( "verify-running-server" ) ; verifyOp . get ( OP_ADDR ) . add ( HOST , address . getElement ( 0 ) . getValue ( ) ) ; context . addStep ( context . getResult ( ) , verifyOp , new OperationStepHandler ( ) { @ Override public void execute ( final OperationContext context , final ModelNode operation ) throws OperationFailedException { final PathAddress serverAddress = EMPTY_ADDRESS . append ( PathElement . pathElement ( SERVER , serverName ) ) ; final ProxyController controller = context . getResourceRegistration ( ) . getProxyController ( serverAddress ) ; if ( ! ( context . getResourceRegistration ( ) . getChildNames ( EMPTY_ADDRESS ) . contains ( SERVER ) ) ) { throw new OperationFailedException ( new ModelNode ( ) . set ( context . getResourceRegistration ( ) . getChildNames ( EMPTY_ADDRESS ) . toString ( ) ) ) ; } if ( controller != null ) { context . getFailureDescription ( ) . set ( HostControllerMessages . MESSAGES . serverStillRunning ( serverName ) ) ; } <START_BUG> context . completeStep ( ) ; <END_BUG> } } , RUNTIME ) ; } protected boolean requiresRuntime ( OperationContext context ) { } }

Fix:
context . stepCompleted ( ) ;
Buggy code:
public class GenesisReader { private final BufferedReader input ; public static final String CMD_END = "end" ; public static final String CMD_REQUEST = "request" ; public static final String CMD_RATE_REAL = "rate-real" ; public static final String CMD_RATE_PREDICTION = "rate-prediction" ; public static final String CMD_ALGORITHM = "algorithm" ; public static final String CMD_ALGORITHM_PARAMETER = "algorithm-parameter" ; public static final String CMD_LOOK_AHEAD = "look-ahead" ; public GenesisReader ( InputStream input ) { } public Genesis read ( ) throws GenesisException , IOException { } private void parseAlgorithmParam ( long tick , int lineCounter , String [ ] split , Map < String , String > algorithmConfiguration ) throws GenesisException { if ( tick != 0 ) throw new GenesisException ( ( ( "line<seq2seq4repair_space>" + lineCounter ) + ":<seq2seq4repair_space>algorithm<seq2seq4repair_space>parameters<seq2seq4repair_space>must<seq2seq4repair_space>be<seq2seq4repair_space>set<seq2seq4repair_space>at<seq2seq4repair_space>tick<seq2seq4repair_space>0" ) ) ; if ( ( split . length ) != 4 ) throw new GenesisException ( ( ( ( ( "line<seq2seq4repair_space>" + lineCounter ) + ":<seq2seq4repair_space>usage<seq2seq4repair_space>is<seq2seq4repair_space>\"0<seq2seq4repair_space>" ) + ( GenesisReader . CMD_ALGORITHM_PARAMETER ) ) + "<seq2seq4repair_space><key><seq2seq4repair_space><value>" ) ) ; String k = split [ 2 ] ; <START_BUG> String v = split [ 2 ] ; <END_BUG> algorithmConfiguration . put ( k , v ) ; } private Long parseLookAhead ( long tick , int lineCounter , String [ ] split ) throws GenesisException { } private Class < ? extends PrefetchAlgorithm > parseAlgorithm ( long tick , int lineCounter , String [ ] split ) throws GenesisException { } private void parseRate ( long tick , int lineCounter , String cmd , Map < Long , Integer > map , String [ ] split ) throws GenesisException { } private Request parseRequest ( long tick , int lineCounter , String [ ] split ) throws GenesisException { } }

Fix:
String v = split [ 3 ] ;
Buggy code:
public class ExecTask extends Task { private static String lSep = System . getProperty ( "line.separator" ) ; protected boolean failOnError = false ; protected boolean newEnvironment = false ; private Integer timeout = null ; private Environment env = new Environment ( ) ; protected Commandline cmdl = new Commandline ( ) ; private FileOutputStream fos = null ; private ByteArrayOutputStream baos = null ; private boolean failIfExecFails = true ; private boolean vmLauncher = true ; private File dir ; private String os ; private File out ; private String outputprop ; private String resultProperty ; public void setDir ( File d ) throws TaskException { } public void setExecutable ( String value ) throws TaskException { } public void setFailIfExecutionFails ( boolean flag ) { } public void setFailonerror ( boolean fail ) { } public void setNewenvironment ( boolean newenv ) { } public void setOs ( String os ) { } public void setOutput ( File out ) { } public void setOutputproperty ( String outputprop ) { } public void setResultProperty ( String resultProperty ) { } public void setTimeout ( Integer value ) { } public void setVMLauncher ( boolean vmLauncher ) { } public void addEnv ( Environment . Variable var ) { } public Argument createArg ( ) { } public void execute ( ) throws TaskException { } protected boolean isValidOs ( ) { } protected final void runExecute ( Execute exe ) throws IOException , TaskException { int err = - 1 ; err = exe . execute ( ) ; if ( exe . killedProcess ( ) ) { log ( "Timeout:<seq2seq4repair_space>killed<seq2seq4repair_space>the<seq2seq4repair_space>sub-process" , MSG_WARN ) ; } maybeSetResultPropertyValue ( err ) ; if ( err != 0 ) { if ( failOnError ) { <START_BUG> throw new TaskException ( ( ( ( taskType ) + "<seq2seq4repair_space>returned:<seq2seq4repair_space>" ) + err ) ) ; <END_BUG> } else { log ( ( "Result:<seq2seq4repair_space>" + err ) , MSG_ERR ) ; } } if ( ( baos ) != null ) { BufferedReader in = new BufferedReader ( new StringReader ( baos . toString ( ) ) ) ; String line = null ; StringBuffer val = new StringBuffer ( ) ; while ( ( line = in . readLine ( ) ) != null ) { if ( ( val . length ( ) ) != 0 ) { val . append ( ExecTask . lSep ) ; } val . append ( line ) ; } project . setNewProperty ( outputprop , val . toString ( ) ) ; } } protected void checkConfiguration ( ) throws TaskException { } protected ExecuteStreamHandler createHandler ( ) throws TaskException { } protected ExecuteWatchdog createWatchdog ( ) throws TaskException { } protected void logFlush ( ) { } protected void maybeSetResultPropertyValue ( int result ) { } protected Execute prepareExec ( ) throws TaskException { } protected void runExec ( Execute exe ) throws TaskException { } }

Fix:
throw new TaskException ( ( ( ( getName ( ) ) + "<seq2seq4repair_space>returned:<seq2seq4repair_space>" ) + err ) ) ;
Buggy code:
public enum Result implements Parcelable { LOSE , WIN ; public static Result create ( final JSONObject json ) throws JSONException { final String resultString = json . getString ( RESULT ) ; final Result result ; if ( LOSE . equalsIgnoreCase ( resultString ) ) { result = Result . LOSE ; } else if ( WIN . equalsIgnoreCase ( resultString ) ) { result = Result . WIN ; } else { <START_BUG> throw new JSONException ( ( ( "Result<seq2seq4repair_space>JSON<seq2seq4repair_space>is<seq2seq4repair_space>invalid:<seq2seq4repair_space>\"" + resultString ) + "\"" ) ) ; <END_BUG> } return result ; } public boolean isLose ( ) { } public boolean isWin ( ) { } @ Override public String toString ( ) { } @ Override public int describeContents ( ) { } @ Override public void writeToParcel ( final Parcel dest , final int flags ) { } public static final Creator < Result > CREATOR = new Creator < Result > ( ) { @ Override public Result createFromParcel ( final Parcel source ) { } @ Override public Result [ ] newArray ( final int size ) { } } ; }

Fix:
throw new JSONException ( ( ( "Result<seq2seq4repair_space>JSON<seq2seq4repair_space>is<seq2seq4repair_space>invalid:<seq2seq4repair_space>\"" + resultString ) + '"' ) ) ;
Buggy code:
public class NSBitmapImageRep extends NSImageRep { public NSBitmapImageRep ( ) { } public NSBitmapImageRep ( int id ) { } public NSBitmapImageRep ( id id ) { } public int bitmapData ( ) { } public int bitsPerPixel ( ) { } public int bytesPerPlane ( ) { } public int bytesPerRow ( ) { } public NSBitmapImageRep initWithBitmapDataPlanes ( int planes , int width , int height , int bps , int spp , boolean alpha , boolean isPlanar , NSString colorSpaceName , int bitmapFormat , int rBytes , int pBits ) { } public NSBitmapImageRep initWithBitmapDataPlanes ( int planes , int width , int height , int bps , int spp , boolean alpha , boolean isPlanar , NSString colorSpaceName , int rBytes , int pBits ) { } public boolean isPlanar ( ) { <START_BUG> return ( OS . objc_msgSend ( this . id , sel_isPlanar ) ) != 0 ; <END_BUG> } public int samplesPerPixel ( ) { } }

Fix:
return OS . objc_msgSend_bool ( this . id , sel_isPlanar ) ;
Buggy code:
public class ITextDocument extends ITextDocumentURI { private static final long serialVersionUID = - 1964054087009829433L ; public static final String REPOSITORY_ITEXT_PATH = "//dynamic_resources//itext//" ; private File bundleDocument ; private InputStream documentStream ; private String documentSource ; public ITextDocument ( ) { } public ITextDocument ( ITextDocumentURIEntity entity ) { } protected RepositoryService getRepositoryService ( ) { } public File getBundleDocument ( ) { } public InputStream getDocumentStream ( ) { } public String getDocumentSource ( ) { } public void setBundleDocument ( File bundleDocument ) { } public void setDocumentStream ( FileInputStream documentStream ) { } public void setDocumentSource ( String documentSource ) { } public void selectedProcessDefinitionIdChange ( ValueChangeEvent event ) { } public String getITextRepositoryPath ( ) { } public String getNewFilename ( ) { } public String getPDFName ( ) { String path = getRepositoryURI ( ) ; <START_BUG> if ( ! ( StringUtil . isEmpty ( path ) ) ) { <END_BUG> path = getBundlePath ( ) ; } if ( ! ( StringUtil . isEmpty ( path ) ) ) { return ( path . substring ( ( ( getRepositoryURI ( ) . lastIndexOf ( '//' ) ) + 1 ) , getRepositoryURI ( ) . lastIndexOf ( '.' ) ) ) + ".pdf" ; } return ( ( ( getProcessDefinitionName ( ) ) + "-" ) + ( IWTimestamp . RightNow ( ) . toSQLDateString ( ) ) ) + ".pdf" ; } @ Override public void save ( ) { } public void download ( ) throws IOException { } }

Fix:
if ( StringUtil . isEmpty ( path ) ) {
Buggy code:
public class WebservicesSubsystemParserTestCase extends AbstractSubsystemBaseTest { public WebservicesSubsystemParserTestCase ( ) { } @ Override protected String getSubsystemXml ( ) throws IOException { <START_BUG> return readResource ( "ws-subsystem12.xml" ) ; <END_BUG> } protected AdditionalInitialization createAdditionalInitialization ( ) { } @ Override protected String getSubsystemXml ( String configId ) throws IOException { } @ Test public void testParseV10 ( ) throws Exception { } @ Test public void testParseV11 ( ) throws Exception { } @ Test public void testParseV12 ( ) throws Exception { } private void checkSubsystemBasics ( ModelNode model ) throws Exception { } private void checkEndpointConfigs ( ModelNode model ) throws Exception { } private void checkClientConfigs ( ModelNode model ) throws Exception { } private FailedOperationTransformationConfig getConfig ( ) { } private void testRejectExpressions_1_1_0 ( ModelTestControllerVersion controllerVersion ) throws Exception { } @ Test public void testTransformersAS712 ( ) throws Exception { } @ Test public void testTransformersAS713 ( ) throws Exception { } @ Test public void testTransformersEAP600 ( ) throws Exception { } @ Test public void testTransformersEAP601 ( ) throws Exception { } @ Test public void testTransformersAS720 ( ) throws Exception { } @ Test public void testTransformersEAP610 ( ) throws Exception { } @ Test public void testTransformersEAP611 ( ) throws Exception { } private void testTransformers_1_2_0 ( ModelTestControllerVersion controllerVersion ) throws Exception { } }

Fix:
return readResource ( "ws-subsystem20.xml" ) ;
Buggy code:
public class ReportCollectionActivity extends ActionBarActivity implements SwipeRefreshLayout . OnRefreshListener , ReportCollectionCallbacks , DisclaimerDialogFragment . OnDisclaimerDialogDismissedListener { public static final String TAG = "ReportCollection" ; public static final String HIDE_DISCLAIMER_KEY = "hide_disclaimer" ; private static Boolean showDisclaimer = null ; private int currentViewId = 0 ; private boolean handlingAddContent = false ; @ Override protected void onCreate ( Bundle savedInstanceState ) { } @ Override protected void onRestart ( ) { } @ Override public boolean onCreateOptionsMenu ( Menu menu ) { } @ Override public boolean onOptionsItemSelected ( MenuItem item ) { } @ Override public void reportSelectedToView ( Report report ) { if ( ! ( report . isEnabled ( ) ) ) { return ; } if ( report . getPath ( ) . isDirectory ( ) ) { Intent detailIntent = new Intent ( this , ReportDetailActivity . class ) ; detailIntent . putExtra ( "report" , report ) ; startActivity ( detailIntent ) ; } else { File reportPath = report . getPath ( ) ; Uri reportUri = Uri . fromFile ( reportPath ) ; String contentType = getContentResolver ( ) . getType ( reportUri ) ; if ( contentType == null ) { <START_BUG> String ext = MimeTypeMap . getFileExtensionFromUrl ( reportUri . toString ( ) ) ; <END_BUG> if ( ext != null ) { contentType = MimeTypeMap . getSingleton ( ) . getMimeTypeFromExtension ( ext ) ; } } Intent viewContent = new Intent ( Intent . ACTION_VIEW ) ; viewContent . setDataAndType ( reportUri , contentType ) ; viewContent . setFlags ( FLAG_ACTIVITY_NO_HISTORY ) ; if ( ( viewContent . resolveActivity ( getPackageManager ( ) ) ) != null ) { startActivity ( viewContent ) ; } else { Toast . makeText ( this , no_viewer_for_report , LENGTH_SHORT ) . show ( ) ; } } } @ Override public void onRefresh ( ) { } @ Override public void onDisclaimerDialogDismissed ( boolean exitApplication ) { } @ Override protected void onActivityResult ( int requestCode , int resultCode , Intent data ) { } private void handleIntentData ( Intent intent ) { } private void navigateToReport ( Uri uri ) { } private boolean showCollectionViewForOptionItemId ( int id ) { } private void showMapView ( ) { } private void showCardView ( ) { } private void startAboutActivity ( ) { } }

Fix:
String ext = MimeTypeMap . getFileExtensionFromUrl ( reportUri . getEncodedPath ( ) ) ;
Buggy code:
public class UMLReceptionSignalComboBoxModel extends UMLComboBoxModel2 { public UMLReceptionSignalComboBoxModel ( ) { } protected void buildModelList ( ) { } <START_BUG> protected boolean isValidElement ( MBase m ) { <END_BUG> return m instanceof MSignal ; } protected Object getSelectedModelElement ( ) { } }

Fix:
protected boolean isValidElement ( Object m ) {
Buggy code:
public class FileListPanel extends JPanel implements ActionListener { private JTable files = null ; private transient ObjectTableModel tableModel = null ; private static final String ACTION_BROWSE = "browse" ; private JButton browse = new JButton ( JMeterUtils . getResString ( FileListPanel . ACTION_BROWSE ) ) ; private JButton clear = new JButton ( JMeterUtils . getResString ( "clear" ) ) ; private JButton delete = new JButton ( JMeterUtils . getResString ( "delete" ) ) ; private List listeners = new LinkedList ( ) ; private String title ; private String filetype ; public FileListPanel ( ) { } public FileListPanel ( String title ) { } public FileListPanel ( String title , String filetype ) { } public FileListPanel ( ChangeListener l , String title ) { } public void addChangeListener ( ChangeListener l ) { } private void init ( ) { } public void enableFile ( boolean enable ) { } public void addFilename ( String f ) { } public void clearFiles ( ) { } public void setFiles ( String [ ] files ) { } public String [ ] getFiles ( ) { } protected void deleteFile ( ) { } private void fireFileChanged ( ) { } protected void initializeTableModel ( ) { <START_BUG> tableModel = new ObjectTableModel ( new String [ ] { "Library" } , new Functor [ 0 ] , new Functor [ 0 ] , new Class [ ] { String . class } , false ) ; <END_BUG> } public void actionPerformed ( ActionEvent e ) { } }

Fix:
tableModel = new ObjectTableModel ( new String [ ] { "Library" } , new Functor [ 0 ] , new Functor [ 0 ] , new Class [ ] { String . class } ) ;
Buggy code:
public final class KeySequence implements Comparable { public static final char KEY_STROKE_DELIMITER = '<seq2seq4repair_space>' ; public static final String KEY_STROKE_DELIMITERS = ( KeySequence . KEY_STROKE_DELIMITER ) + "\b\t\n\f\r" ; private static final int HASH_FACTOR = 89 ; private static final int HASH_INITIAL = KeySequence . class . getName ( ) . hashCode ( ) ; private static final String KEY_STROKE_DELIMITER_KEY = "KEY_STROKE_DELIMITER" ; private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle . getBundle ( KeySequence . class . getName ( ) ) ; public static KeySequence getInstance ( ) { } public static KeySequence getInstance ( KeyStroke keyStroke ) { } public static KeySequence getInstance ( KeyStroke [ ] keyStrokes ) { } public static KeySequence getInstance ( List keyStrokes ) { } public static KeySequence getInstance ( String string ) throws ParseException { } private List keyStrokes ; private transient int hashCode ; private transient boolean hashCodeComputed ; private transient String string ; private KeySequence ( List keyStrokes ) { } public int compareTo ( Object object ) { } public boolean equals ( Object object ) { } public String format ( ) { } public List getKeyStrokes ( ) { } public int hashCode ( ) { } public boolean isChildOf ( KeySequence keySequence , boolean equals ) { } public String toString ( ) { } String format ( boolean localize ) { int i = 0 ; Iterator iterator = keyStrokes . iterator ( ) ; StringBuffer stringBuffer = new StringBuffer ( ) ; while ( iterator . hasNext ( ) ) { if ( i != 0 ) <START_BUG> stringBuffer . append ( Util . translateString ( KeySequence . RESOURCE_BUNDLE , ( localize ? KeySequence . KEY_STROKE_DELIMITER_KEY : null ) , ( "" + ( KeySequence . KEY_STROKE_DELIMITER ) ) , false ) ) ; <END_BUG> stringBuffer . append ( ( ( KeyStroke ) ( iterator . next ( ) ) ) . format ( localize ) ) ; i ++ ; } return stringBuffer . toString ( ) ; } }

Fix:
stringBuffer . append ( Util . translateString ( KeySequence . RESOURCE_BUNDLE , ( localize ? KeySequence . KEY_STROKE_DELIMITER_KEY : null ) , ( "" + ( KeySequence . KEY_STROKE_DELIMITER ) ) , false , false ) ) ;
Buggy code:
@ ServerEndpoint ( "//chat" ) public class ChatService { @ OnOpen public void greeting ( Session session ) { } @ OnMessage public void message ( String message , Session session ) { } @ OnClose public void close ( Session session ) { try { for ( Session s : session . getOpenSessions ( ) ) { <START_BUG> s . getBasicRemote ( ) . sendText ( ( "-u-" + ( + ( ( session . getOpenSessions ( ) . size ( ) ) + 1 ) ) ) ) ; <END_BUG> } } catch ( IOException e ) { e . printStackTrace ( ) ; } } No newline ; at end ; of file ; }

Fix:
s . getBasicRemote ( ) . sendText ( ( "-u-" + ( + ( session . getOpenSessions ( ) . size ( ) ) ) ) ) ;
Buggy code:
public class SharedSDOEditor extends SDOEditor { private class UpdateConsumer implements IUpdateConsumer { public boolean consumeUpdate ( ISharedDataGraph graph , ID containerID ) { } public void updateFailed ( ISharedDataGraph graph , ID containerID , Throwable cause ) { } } private ISharedDataGraph sharedDataGraph ; public void createModel ( ) { try { IFileEditorInput modelFile = ( ( IFileEditorInput ) ( getEditorInput ( ) ) ) ; String path = modelFile . getFile ( ) . getFullPath ( ) . toString ( ) ; URI uri = URI . createPlatformResourceURI ( modelFile . getFile ( ) . getFullPath ( ) . toString ( ) ) ; if ( EditorPlugin . getDefault ( ) . isPublished ( path ) ) { WaitableSubscriptionCallback mutex = new WaitableSubscriptionCallback ( ) ; sharedDataGraph = EditorPlugin . getDefault ( ) . subscribe ( path , mutex , new SharedSDOEditor . UpdateConsumer ( ) ) ; ID containerID = null ; Throwable cause = null ; try { <START_BUG> containerID = mutex . waitForSubscription ( 1000 ) ; <END_BUG> } catch ( InterruptedException e ) { cause = e ; } if ( containerID == null ) { EditorPlugin . getDefault ( ) . log ( new CoreException ( new Status ( Status . ERROR , EditorPlugin . getDefault ( ) . getBundle ( ) . getSymbolicName ( ) , 0 , "Failed<seq2seq4repair_space>to<seq2seq4repair_space>subscribe." , cause ) ) ) ; return ; } EDataGraph dataGraph = ( ( EDataGraph ) ( sharedDataGraph . getDataGraph ( ) ) ) ; dataGraph . getDataGraphResource ( ) . setURI ( uri ) ; editingDomain . getResourceSet ( ) . getResources ( ) . addAll ( dataGraph . getResourceSet ( ) . getResources ( ) ) ; dataGraph . setResourceSet ( editingDomain . getResourceSet ( ) ) ; } else { Resource resource = editingDomain . loadResource ( uri . toString ( ) ) ; DataGraph dataGraph = ( ( DataGraph ) ( resource . getContents ( ) . get ( 0 ) ) ) ; sharedDataGraph = EditorPlugin . getDefault ( ) . publish ( path , dataGraph , new SharedSDOEditor . UpdateConsumer ( ) ) ; } } catch ( ECFException e ) { EditorPlugin . getDefault ( ) . log ( e ) ; if ( ( sharedDataGraph ) != null ) { sharedDataGraph . dispose ( ) ; sharedDataGraph = null ; } } } public void doSave ( IProgressMonitor progressMonitor ) { } public void dispose ( ) { } }

Fix:
containerID = mutex . waitForSubscription ( 10000 ) ;
Buggy code:
@ Service @ Scope ( "request" ) public class RecipeModel { @ Qualifier ( "recipeDao" ) @ Autowired private RecipeDao recipeDao = null ; public ArrayList < Recipe > searchRecipes ( String name ) throws ExException { } public List < Recipe > searchRecipesRandom ( int amount ) throws ExException { } public ArrayList < Recipe > searchRecipes ( String name , List < String > ingredients ) throws ExException { } public void addRecipe ( Recipe recipe ) throws Exception { } public List < Recipe > getRecipes ( Long users_id ) { } public void deleteRecipe ( Long recipeID ) throws Exception { } public void updateRecipe ( Recipe recipe ) throws Exception { } public ArrayList < Recipe > getRecommendations ( User user ) throws Exception { List < Map < String , Object > > list = recipeDao . getRecommendations ( user ) ; ArrayList < Recipe > recipes = new ArrayList < Recipe > ( ) ; for ( Map < String , Object > row : list ) { <START_BUG> Recipe r = getRecipe ( Long . parseLong ( row . get ( "recipeID" ) . toString ( ) ) ) ; <END_BUG> recipes . add ( r ) ; } return recipes ; } public RecipeDao getRecipeDao ( ) { } public Recipe getRecipe ( Long recipe_id ) throws Exception { } }

Fix:
Recipe r = getRecipe ( Long . parseLong ( row . get ( "id" ) . toString ( ) ) ) ;
Buggy code:
public class ReadMasterDomainModelHandler implements OperationStepHandler , DescriptionProvider { public static final String OPERATION_NAME = "read-master-domain-model" ; private final Transformers transformers ; public ReadMasterDomainModelHandler ( final Transformers transformers ) { } private Resource transformResource ( final OperationContext context , Resource root ) { <START_BUG> return transformers . transformResource ( Factory . getTransformationContext ( context ) , root ) ; <END_BUG> } public void execute ( OperationContext context , ModelNode operation ) throws OperationFailedException { } private static List < ModelNode > describeAsNodeList ( final Resource resource ) { } private static void describe ( final PathAddress base , final Resource resource , List < ModelNode > nodes ) { } public ModelNode getModelDescription ( Locale locale ) { } }

Fix:
return transformers . transformResource ( Factory . getTransformationContext ( transformers , context ) , root ) ;
Buggy code:
public class FontRendererExt extends FontRenderer { public static boolean enableEmoticons ; private EmoticonBuffer emoticonBuffer ; public FontRendererExt ( GameSettings gameSettings , ResourceLocation locationFontTexture , TextureManager renderEngine , boolean unicodeFlag ) { } @ Override public int getStringWidth ( String s ) { <START_BUG> return super . getStringWidth ( ( FontRendererExt . enableEmoticons ? killEmotes ( s ) : s ) ) ; <END_BUG> } @ Override public int drawString ( String s , int x , int y , int color , boolean shadow ) { } public void setEmoticonBuffer ( EmoticonBuffer emoticonBuffer ) { } public String killEmotes ( String s ) { } public String extractEmotesToBuffer ( String s , int x , int y , int color ) { } }

Fix:
return super . getStringWidth ( killEmotes ( s ) ) ;
Buggy code:
class RemoteOutboundConnectionAdd extends AbstractOutboundConnectionAddHandler { static final RemoteOutboundConnectionAdd INSTANCE = new RemoteOutboundConnectionAdd ( ) ; private RemoteOutboundConnectionAdd ( ) { } @ Override protected void populateModel ( ModelNode operation , ModelNode model ) throws OperationFailedException { } @ Override protected void performRuntime ( OperationContext context , ModelNode operation , ModelNode model , ServiceVerificationHandler verificationHandler , List < ServiceController < ? > > newControllers ) throws OperationFailedException { } ServiceController installRuntimeService ( final OperationContext context , final ModelNode operation , final ModelNode fullModel , ServiceVerificationHandler verificationHandler ) throws OperationFailedException { final PathAddress address = PathAddress . pathAddress ( operation . require ( OP_ADDR ) ) ; final String connectionName = address . getLastElement ( ) . getValue ( ) ; final String outboundSocketBindingRef = OUTBOUND_SOCKET_BINDING_REF . resolveModelAttribute ( context , operation ) . asString ( ) ; final ServiceName outboundSocketBindingDependency = OUTBOUND_SOCKET_BINDING_BASE_SERVICE_NAME . append ( outboundSocketBindingRef ) ; <START_BUG> final OptionMap connectionCreationOptions = ConnectorResource . getOptions ( fullModel . get ( PROPERTY ) ) ; <END_BUG> final String username = ( fullModel . hasDefined ( USERNAME ) ) ? fullModel . require ( USERNAME ) . asString ( ) : null ; final String securityRealm = ( fullModel . hasDefined ( SECURITY_REALM ) ) ? fullModel . require ( SECURITY_REALM ) . asString ( ) : null ; final RemoteOutboundConnectionService outboundConnectionService = new RemoteOutboundConnectionService ( connectionName , connectionCreationOptions , username ) ; final ServiceName serviceName = OUTBOUND_CONNECTION_BASE_SERVICE_NAME . append ( connectionName ) ; final ServiceName aliasServiceName = REMOTE_OUTBOUND_CONNECTION_BASE_SERVICE_NAME . append ( connectionName ) ; final ServiceBuilder < RemoteOutboundConnectionService > svcBuilder = context . getServiceTarget ( ) . addService ( serviceName , outboundConnectionService ) . addAliases ( aliasServiceName ) . addDependency ( SUBSYSTEM_ENDPOINT , Endpoint . class , outboundConnectionService . getEndpointInjector ( ) ) . addDependency ( outboundSocketBindingDependency , OutboundSocketBinding . class , outboundConnectionService . getDestinationOutboundSocketBindingInjector ( ) ) ; if ( securityRealm != null ) { final ServiceName secuirtyRealmName = BASE_SERVICE_NAME . append ( securityRealm ) ; svcBuilder . addDependency ( secuirtyRealmName , SecurityRealm . class , outboundConnectionService . getSecurityRealmInjector ( ) ) ; } if ( verificationHandler != null ) { svcBuilder . addListener ( verificationHandler ) ; } return svcBuilder . install ( ) ; } }

Fix:
final OptionMap connectionCreationOptions = ConnectorResource . getOptions ( context , fullModel . get ( PROPERTY ) ) ;
Buggy code:
@ RunWith ( Arquillian . class ) @ RunAsClient public class ClusteredWebTestCase { public static final long GRACE_TIME_TO_REPLICATE = 3000 ; @ BeforeClass public static void printSysProps ( ) { } @ Deployment ( name = "deployment-0" ) @ TargetsContainer ( "clustering-udp-0" ) public static Archive < ? > deployment0 ( ) { } @ Deployment ( name = "deployment-1" ) @ TargetsContainer ( "clustering-udp-1" ) public static Archive < ? > deployment1 ( ) { } @ Test @ OperateOnDeployment ( "deployment-0" ) public void testSerialized ( @ ArquillianResource ( SimpleServlet . class ) URL baseURL ) throws IOException , ClientProtocolException { DefaultHttpClient client = new DefaultHttpClient ( ) ; String url = baseURL . toString ( ) ; System . out . println ( ( "URL<seq2seq4repair_space>=<seq2seq4repair_space>" + url ) ) ; try { HttpResponse response = client . execute ( new HttpGet ( ( url + "simple" ) ) ) ; Assert . assertEquals ( SC_OK , response . getStatusLine ( ) . getStatusCode ( ) ) ; Assert . assertEquals ( 1 , Integer . parseInt ( response . getFirstHeader ( "value" ) . getValue ( ) ) ) ; Assert . assertFalse ( Boolean . valueOf ( response . getFirstHeader ( "serialized" ) . getValue ( ) ) ) ; response . getEntity ( ) . getContent ( ) . close ( ) ; response = client . execute ( new HttpGet ( ( url + "simple" ) ) ) ; Assert . assertEquals ( SC_OK , response . getStatusLine ( ) . getStatusCode ( ) ) ; Assert . assertEquals ( 2 , Integer . parseInt ( response . getFirstHeader ( "value" ) . getValue ( ) ) ) ; <START_BUG> Assert . assertFalse ( Boolean . valueOf ( response . getFirstHeader ( "serialized" ) . getValue ( ) ) ) ; <END_BUG> response . getEntity ( ) . getContent ( ) . close ( ) ; } finally { client . getConnectionManager ( ) . shutdown ( ) ; } } @ Test @ Ignore ( "AS7-2704<seq2seq4repair_space>StackOverflowError<seq2seq4repair_space>on<seq2seq4repair_space>creating<seq2seq4repair_space>a<seq2seq4repair_space>web<seq2seq4repair_space>session<seq2seq4repair_space>in<seq2seq4repair_space>cluster" ) @ OperateOnDeployment ( "deployment-1" ) public void testSessionReplication ( @ ArquillianResource ( SimpleServlet . class ) URL baseURL ) throws IOException , IllegalStateException , InterruptedException { } }

Fix:
Assert . assertTrue ( Boolean . valueOf ( response . getFirstHeader ( "serialized" ) . getValue ( ) ) ) ;
Buggy code:
public class Version { private Version ( ) { } public static String id ( ) { <START_BUG> return "@version@" ; <END_BUG> } }

Fix:
return "3.7" ;
Buggy code:
public final class Signif extends AbstractFunction implements MathFunction { protected Signif ( ) { } private Signif ( final Signif theExpr ) { } @ Override protected Value internalEvaluate ( final Value ... theArgs ) { Rengine re = Rengine . getMainEngine ( ) ; if ( re == null ) re = new Rengine ( new String [ ] { "--vanilla" } , false , null ) ; double [ ] x = new double [ ] { Double . parseDouble ( theArgs [ 0 ] . stringValue ( ) ) } ; re . assign ( "x" , x ) ; <START_BUG> REXP result = re . eval ( ( ( "signif(x,<seq2seq4repair_space>digits=" + ( theArgs [ 1 ] ) ) + ")" ) ) ; <END_BUG> re . end ( ) ; return literal ( result . asDouble ( ) ) ; } @ Override public Function copy ( ) { } @ Override public void accept ( ExpressionVisitor theVisitor ) { } @ Override public String getOpString ( ) { } No newline ; at end ; of file ; }

Fix:
REXP result = re . eval ( ( ( "signif(x,<seq2seq4repair_space>digits=" + ( theArgs [ 1 ] . stringValue ( ) ) ) + ")" ) ) ;
Buggy code:
public final class NotNullPredicate < T > implements Serializable , Predicate < T > { private static final long serialVersionUID = 7533784454832764388L ; public static final Predicate < Object > INSTANCE = new NotNullPredicate < Object > ( ) ; @ SuppressWarnings ( "unchecked" ) public static < T > Predicate < T > notNullPredicate ( ) { } private NotNullPredicate ( ) { } <START_BUG> public boolean evaluate ( T object ) { <END_BUG> return object != null ; } private Object readResolve ( ) { } }

Fix:
public boolean evaluate ( final T object ) {
Buggy code:
public class ModelBatch { private List < Mesh > meshes ; private List < Transform > transforms ; private List < Integer > indices ; private List < StaticMesh > staticMeshes ; private List < Transform > staticMeshTransforms ; private List < Integer > staticMeshIndices ; private Transform transform ; private boolean active ; public ModelBatch ( ) { } public void begin ( ) { } public void begin ( Transform transform ) { } public void flush ( ) { } private void sortMeshes ( ) { } public void end ( ) { } public void addModel ( Model model , Transform transform ) { } public void addMesh ( Mesh mesh , Transform transform ) { <START_BUG> if ( ( ( mesh . getNumberOfVertices ( ) ) <= 900 ) || ( ! ( mesh . prefersStatic ( ) ) ) ) { <END_BUG> meshes . add ( mesh ) ; transforms . add ( transform ) ; indices . add ( ( ( meshes . size ( ) ) - 1 ) ) ; } else { staticMeshes . add ( graphics . getStaticMesh ( mesh ) ) ; staticMeshTransforms . add ( transform ) ; staticMeshIndices . add ( ( ( staticMeshes . size ( ) ) - 1 ) ) ; } } }

Fix:
if ( ( ( mesh . getNumberOfVertices ( ) ) <= 900 ) && ( ! ( mesh . prefersStatic ( ) ) ) ) {
Buggy code:
public class DebugSampler extends AbstractSampler implements TestBean { private static final long serialVersionUID = 232L ; private boolean displayJMeterVariables ; private boolean displayJMeterProperties ; private boolean displaySystemProperties ; public SampleResult sample ( Entry e ) { SampleResult res = new SampleResult ( ) ; res . setSampleLabel ( getName ( ) ) ; res . sampleStart ( ) ; StringBuilder sb = new StringBuilder ( 100 ) ; StringBuilder rd = new StringBuilder ( 20 ) ; if ( isDisplayJMeterVariables ( ) ) { rd . append ( "JMeterVariables\n" ) ; sb . append ( "JMeterVariables:\n" ) ; formatSet ( sb , JMeterContextService . getContext ( ) . getVariables ( ) . entrySet ( ) ) ; sb . append ( "\n" ) ; } if ( isDisplayJMeterProperties ( ) ) { rd . append ( "JMeterProperties\n" ) ; sb . append ( "JMeterProperties:\n" ) ; formatSet ( sb , JMeterUtils . getJMeterProperties ( ) . entrySet ( ) ) ; sb . append ( "\n" ) ; } if ( isDisplaySystemProperties ( ) ) { rd . append ( "SystemProperties\n" ) ; sb . append ( "SystemProperties:\n" ) ; formatSet ( sb , System . getProperties ( ) . entrySet ( ) ) ; sb . append ( "\n" ) ; } res . setResponseData ( sb . toString ( ) , null ) ; res . setDataType ( TEXT ) ; res . setSamplerData ( rd . toString ( ) ) ; <START_BUG> res . setSuccessful ( true ) ; <END_BUG> res . sampleEnd ( ) ; return res ; } private void formatSet ( StringBuilder sb , @ SuppressWarnings ( "rawtypes" ) Set s ) { } public boolean isDisplayJMeterVariables ( ) { } public void setDisplayJMeterVariables ( boolean displayJMeterVariables ) { } public boolean isDisplayJMeterProperties ( ) { } public void setDisplayJMeterProperties ( boolean displayJMeterPropterties ) { } public boolean isDisplaySystemProperties ( ) { } public void setDisplaySystemProperties ( boolean displaySystemProperties ) { } }

Fix:
res . setResponseOK ( ) ;
Buggy code:
public class OrganizerLink { private LinkedBox startBox ; private LinkedBox endBox ; private String type ; private final int linkID ; public OrganizerLink ( int linkID , LinkedBox startBox , LinkedBox endBox , String type ) { } public OrganizerLink ( LinkedBox startBox , LinkedBox endBox , String type ) { } private OrganizerLink ( ) { } public int getLinkID ( ) { } public LinkedBox getStartBox ( ) { } public LinkedBox getEndBox ( ) { } public int getStartBoxID ( ) { } public int getEndBoxID ( ) { } public int getStartBoxRootID ( ) { } public int getEndBoxRootID ( ) { } public String getType ( ) { } public void setStartBox ( LinkedBox startBox ) { } public void setEndBox ( LinkedBox endBox ) { } public void setType ( String type ) { } @ Override public boolean equals ( Object object ) { if ( object instanceof OrganizerLink ) { OrganizerLink link = ( ( OrganizerLink ) ( object ) ) ; <START_BUG> if ( ( ( this . startBox . equals ( link . getStartBox ( ) ) ) && ( this . endBox . equals ( link . getEndBox ( ) ) ) ) && ( link . getType ( ) . equalsIgnoreCase ( this . type ) ) ) { <END_BUG> return true ; } else { return false ; } } else { return false ; } } No newline ; at end ; of file ; }

Fix:
if ( ( ( startBox . equals ( link . getStartBox ( ) ) ) && ( endBox . equals ( link . getEndBox ( ) ) ) ) && ( link . getType ( ) . equalsIgnoreCase ( type ) ) ) {
Buggy code:
public class AntClassLoader extends ClassLoader { private static final int BUFFER_SIZE = 1024 ; private Path classpath ; private Project project ; private boolean systemFirst = true ; private Vector systemPackages = new Vector ( ) ; private Vector loaderPackages = new Vector ( ) ; private boolean ignoreBase = false ; private static Method getProtectionDomain = null ; private static Method defineClassProtectionDomain = null ; public AntClassLoader ( Project project , Path classpath ) { } public AntClassLoader ( Project project , Path classpath , boolean systemFirst ) { } public void setIsolated ( boolean isolated ) { } public static void initializeClass ( Class theClass ) { try { theClass . newInstance ( ) ; <START_BUG> } catch ( Exception e ) { <END_BUG> } } public void addSystemPackageRoot ( String packageRoot ) { } public void addLoaderPackageRoot ( String packageRoot ) { } public Class forceLoadClass ( String classname ) throws ClassNotFoundException { } public Class forceLoadSystemClass ( String classname ) throws ClassNotFoundException { } public InputStream getResourceAsStream ( String name ) { } private InputStream loadResource ( String name ) { } private InputStream loadBaseResource ( String name ) { } private InputStream getResourceStream ( File file , String resourceName ) { } private boolean isSystemFirst ( String resourceName ) { } public URL getResource ( String name ) { } private URL getResourceURL ( File file , String resourceName ) { } protected Class loadClass ( String classname , boolean resolve ) throws ClassNotFoundException { } private String getClassFilename ( String classname ) { } private Class getClassFromStream ( InputStream stream , String classname ) throws IOException { } public Class findClass ( String name ) throws ClassNotFoundException { } private Class findClass ( String name , Path path ) throws ClassNotFoundException { } private Class findBaseClass ( String name ) throws ClassNotFoundException { } }

Fix:
} catch ( Throwable t ) {
Buggy code:
public class XMPPConnectWizardPage extends WizardPage { Text connectText ; Text passwordText ; XMPPConnectWizardPage ( ) { } public void createControl ( Composite parent ) { parent . setLayout ( new GridLayout ( ) ) ; GridData fillData = new GridData ( SWT . FILL , SWT . CENTER , true , false ) ; GridData endData = new GridData ( SWT . FILL , SWT . CENTER , true , false , 2 , 1 ) ; Label label = new Label ( parent , SWT . LEFT ) ; label . setText ( "Connect<seq2seq4repair_space>ID:" ) ; connectText = new Text ( parent , ( ( SWT . SINGLE ) | ( SWT . BORDER ) ) ) ; connectText . setLayoutData ( fillData ) ; connectText . addModifyListener ( new ModifyListener ( ) { public void modifyText ( ModifyEvent e ) { if ( ! ( connectText . getText ( ) . equals ( "" ) ) ) { updateStatus ( null ) ; } else { updateStatus ( "An<seq2seq4repair_space>connect<seq2seq4repair_space>ID<seq2seq4repair_space>must<seq2seq4repair_space>be<seq2seq4repair_space>specified." ) ; } } } ) ; label = new Label ( parent , SWT . RIGHT ) ; <START_BUG> label . setText ( "xmpp:////<user>@<xmppserver>[:port]" ) ; <END_BUG> label . setLayoutData ( endData ) ; label = new Label ( parent , SWT . LEFT ) ; label . setText ( "Password:" ) ; passwordText = new Text ( parent , ( ( ( SWT . SINGLE ) | ( SWT . PASSWORD ) ) | ( SWT . BORDER ) ) ) ; passwordText . setLayoutData ( fillData ) ; setControl ( parent ) ; } String getConnectID ( ) { } String getPassword ( ) { } protected void updateStatus ( String message ) { } }

Fix:
label . setText ( "<user>@<xmppserver>[:port]" ) ;