Input:
public Object[] getChildren(Object parentElement) {
    if (parentElement instanceof IContainer) {
        IContainer container = ((IContainer) parentElement);
        IResource[] members = null;
        try {
            members = container.members();
        } catch (CoreException e) {
            log.error("String_Node_Str" + container.getLocation());
        }
        if (container.equals(ResourcesPlugin.getWorkspace().getRoot().getProject(DQStructureManager.METADATA).getFolder(DQStructureManager.DB_CONNECTIONS))) {
            ComparatorsFactory.sort(members, ComparatorsFactory.FILEMODEL_COMPARATOR_ID);
        }
        return members;
    } else if (parentElement instanceof NamedColumnSet) {
        return null;
    } else if (parentElement instanceof NamedColumnSetFolderNode) {
        NamedColumnSetFolderNode folerNode = (NamedColumnSetFolderNode) parentElement;
        if (!(folerNode.isLoaded())) {
            folerNode.loadChildren();
        }
        Object[] children = folerNode.getChildren();
        if (children != null && children.length > 0) {
            if (!(children[0] instanceof ColumnSet)) {
                return children;
            }
            for (int i = 0; i < children.length; i++) {
                ColumnSet columnSet = (ColumnSet) children[i];
                ColumnSetKey key = new ColumnSetKey(columnSet);
                if (columnSetCheckedMap.containsKey(key)) {
                    currentCheckedColumnSet.add(columnSet);
                }
            }
        }
        return ComparatorsFactory.sort(children, ComparatorsFactory.MODELELEMENT_COMPARATOR_ID);
    }
    return super.getChildren(parentElement);
}

Output:
         NamedColumnSetFolderNode folerNode = (NamedColumnSetFolderNode) parentElement;
-        if (!(folerNode.isLoaded())) {
-            folerNode.loadChildren();
-        }
+        folerNode.loadChildren();
         Object[] children = folerNode.getChildren();


Input:
public void addSchemaComponents(JavaClass myClass) {
    String myClassName = myClass.getQualifiedName();
    Element rootElement = null;
    TypeInfo info = (TypeInfo) typeInfo.get(myClassName);
    SchemaTypeInfo schemaTypeInfo = new SchemaTypeInfo();
    schemaTypeInfo.setSchemaTypeName(new QName(info.getClassNamespace(), info.getSchemaTypeName()));
    this.schemaTypeInfo.put(myClass.getQualifiedName(), schemaTypeInfo);
    NamespaceInfo namespaceInfo = this.packageToNamespaceMappings.get(myClass.getPackage().getQualifiedName());
    Schema schema = getSchemaForNamespace(info.getClassNamespace());
    info.setSchema(schema);
    String typeName = info.getSchemaTypeName();
    String[] propOrder = info.getPropOrder();
    String pfx = "String_Node_Str";
    Property valueField = null;
    if (helper.isAnnotationPresent(myClass, XmlRootElement.class)) {
        XmlRootElement rootElemAnnotation = (XmlRootElement) helper.getAnnotation(myClass, XmlRootElement.class);
        rootElement = new Element();
        String elementName = rootElemAnnotation.name();
        if (elementName.equals("String_Node_Str") || elementName.equals("String_Node_Str")) {
            if (myClassName.indexOf("String_Node_Str") != -1) {
                elementName = Introspector.decapitalize(myClassName.substring(myClassName.lastIndexOf('$') + 1));
            } else {
                elementName = Introspector.decapitalize(myClassName.substring(myClassName.lastIndexOf('.') + 1));
            }
            if (elementName.length() >= 3) {
                int idx = elementName.length() - 1;
                char ch = elementName.charAt(idx - 1);
                if (Character.isDigit(ch)) {
                    char lastCh = Character.toUpperCase(elementName.charAt(idx));
                    elementName = elementName.substring(0, idx) + lastCh;
                }
            }
        }
        rootElement.setName(elementName);
        String rootNamespace = rootElemAnnotation.namespace();
        if (rootNamespace.equals("String_Node_Str")) {
            getSchemaForNamespace(namespaceInfo.getNamespace()).addTopLevelElement(rootElement);
            schemaTypeInfo.getGlobalElementDeclarations().add(new QName(namespaceInfo.getNamespace(), rootNamespace));
            rootNamespace = namespaceInfo.getNamespace();
        } else {
            getSchemaForNamespace(rootNamespace).addTopLevelElement(rootElement);
            schemaTypeInfo.getGlobalElementDeclarations().add(new QName(rootNamespace, elementName));
        }
        Schema rootSchema = getSchemaForNamespace(rootNamespace);
        if (schema != rootSchema) {
            Import schemaImport = new Import();
            schemaImport.setNamespace(schema.getTargetNamespace());
            schemaImport.setSchemaLocation(schema.getName());
            rootSchema.getImports().add(schemaImport);
        }
        if (!info.getClassNamespace().equals("String_Node_Str")) {
            pfx = getPrefixForNamespace(info.getClassNamespace(), rootSchema.getNamespaceResolver());
            if (pfx == null) {
                pfx = rootSchema.getNamespaceResolver().generatePrefix();
                rootSchema.getNamespaceResolver().put(pfx, info.getClassNamespace());
            }
            pfx += "String_Node_Str";
        }
    }
    ArrayList<String> propertyNames = info.getPropertyNames();
    if (info.isEnumerationType() || (propertyNames.size() == 1 && helper.isAnnotationPresent(info.getProperties().get(propertyNames.get(0)).getElement(), XmlValue.class))) {
        SimpleType type = new SimpleType();
        if (typeName.equals("String_Node_Str")) {
            if (rootElement != null) {
                rootElement.setSimpleType(type);
            }
        } else {
            type.setName(typeName);
            schema.addTopLevelSimpleTypes(type);
            if (rootElement != null) {
                rootElement.setType(pfx + type.getName());
            }
        }
        QName restrictionType = null;
        Restriction restriction = new Restriction();
        if (info.isEnumerationType()) {
            restrictionType = ((EnumTypeInfo) info).getRestrictionBase();
            restriction.setEnumerationFacets(this.getEnumerationFacetsFor((EnumTypeInfo) info));
            restriction.setBaseType(XMLConstants.SCHEMA_PREFIX + "String_Node_Str" + restrictionType.getLocalPart());
            type.setRestriction(restriction);
        } else {
            valueField = info.getProperties().get(propertyNames.get(0));
            QName baseType = getSchemaTypeFor(valueField.getType());
            if (helper.isAnnotationPresent(valueField.getElement(), XmlList.class)) {
                List list = new List();
                list.setItemType(XMLConstants.SCHEMA_PREFIX + "String_Node_Str" + baseType.getLocalPart());
                type.setList(list);
            } else {
                if (helper.isAnnotationPresent(valueField.getElement(), XmlSchemaType.class)) {
                    XmlSchemaType schemaType = (XmlSchemaType) helper.getAnnotation(valueField.getElement(), XmlSchemaType.class);
                    baseType = new QName(schemaType.namespace(), schemaType.name());
                }
                restriction.setBaseType(XMLConstants.SCHEMA_PREFIX + "String_Node_Str" + baseType.getLocalPart());
                type.setRestriction(restriction);
            }
        }
        info.setSimpleType(type);
    } else if ((valueField = this.getXmlValueFieldForSimpleContent(info.getPropertyList())) != null) {
        ComplexType type = new ComplexType();
        SimpleContent content = new SimpleContent();
        if (typeName.equals("String_Node_Str")) {
            if (rootElement != null) {
                rootElement.setComplexType(type);
            }
            info.setComplexType(type);
        } else {
            type.setName(typeName);
            schema.addTopLevelComplexTypes(type);
            if (rootElement != null) {
                rootElement.setType(pfx + type.getName());
            }
        }
        QName extensionType = getSchemaTypeFor(valueField.getType());
        if (helper.isAnnotationPresent(valueField.getElement(), XmlSchemaType.class)) {
            XmlSchemaType schemaType = (XmlSchemaType) helper.getAnnotation(valueField.getElement(), XmlSchemaType.class);
            extensionType = new QName(schemaType.namespace(), schemaType.name());
        }
        Extension extension = new Extension();
        extension.setBaseType(XMLConstants.SCHEMA_PREFIX + "String_Node_Str" + extensionType.getLocalPart());
        content.setExtension(extension);
        type.setSimpleContent(content);
        info.setComplexType(type);
    } else {
        ComplexType type = new ComplexType();
        JavaClass superClass = (JavaClass) myClass.getSuperclass();
        TypeInfo parentTypeInfo = this.typeInfo.get(superClass.getQualifiedName());
        Extension extension = null;
        if (parentTypeInfo != null) {
            extension = new Extension();
            String parentPrefix = getPrefixForNamespace(parentTypeInfo.getClassNamespace(), namespaceInfo.getNamespaceResolver());
            if (parentPrefix != null) {
                extension.setBaseType(parentPrefix + "String_Node_Str" + parentTypeInfo.getSchemaTypeName());
            } else {
                extension.setBaseType(parentTypeInfo.getSchemaTypeName());
            }
            ComplexContent content = new ComplexContent();
            content.setExtension(extension);
            type.setComplexContent(content);
        }
        TypeDefParticle compositor = null;
        if (propOrder.length == 0) {
            if (info.hasElementRefs()) {
                compositor = new Sequence();
                if (extension != null) {
                    extension.setSequence((Sequence) compositor);
                } else {
                    type.setSequence((Sequence) compositor);
                }
            } else if (extension != null) {
                compositor = new All();
                extension.setAll((All) compositor);
            } else {
                compositor = new All();
                type.setAll((All) compositor);
            }
        } else {
            compositor = new Sequence();
            if (extension != null) {
                extension.setSequence((Sequence) compositor);
            } else {
                type.setSequence((Sequence) compositor);
            }
        }
        if (typeName.equals("String_Node_Str")) {
            if (rootElement != null) {
                rootElement.setComplexType(type);
            }
            info.setComplexType(type);
            info.setCompositor(compositor);
        } else {
            type.setName(typeName);
            if (rootElement != null) {
                rootElement.setType(pfx + type.getName());
            }
            schema.addTopLevelComplexTypes(type);
            info.setComplexType(type);
            info.setCompositor(compositor);
        }
        info.setPropOrder(propOrder);
    }
}

Output:
                 List list = new List();
-                list.setItemType(XMLConstants.SCHEMA_PREFIX + "String_Node_Str" + baseType.getLocalPart());
+                list.setItemType(baseTypeName);
                 type.setList(list);


Input:
public TypeName getRawName() {
    String s = rawString().substring(0, rawString().length() - 1);
    s = s.replaceAll("String_Node_Str", "String_Node_Str");
    return TypeName.string2TypeName(s);
}

Output:
 public TypeName getRawName() {
-    String s = rawString().substring(0, rawString().length() - 1);
-    s = s.replaceAll("String_Node_Str", "String_Node_Str");
-    return TypeName.string2TypeName(s);
+    StringBuffer s = new StringBuffer();
+    StringTokenizer t = new StringTokenizer(rawString(), "String_Node_Str");
+    while (t.hasMoreTokens()) {
+        String x = t.nextToken();
+        s.append(x.replaceAll("String_Node_Str", "String_Node_Str").replace("String_Node_Str", "String_Node_Str"));
+        if (t.hasMoreElements()) {
+            s.append('$');
+        }
+    }
+    return TypeName.string2TypeName(s.toString());
 }


Input:
private void handleRemoteService(final Bundle bundle, Collection result, StringTokenizer tokenizer) {
    String token = tokenizer.nextToken().trim();
    String path = token.substring(0, token.lastIndexOf("String_Node_Str"));
    int start = path.indexOf("String_Node_Str");
    if (start >= 0) {
        int end = path.indexOf("String_Node_Str");
        String substring = path.substring(start + 2, end);
        String property = System.getProperty(substring);
        path = path.replaceAll("String_Node_Str" + substring + "String_Node_Str", property);
    }
    String files = token.substring(token.lastIndexOf("String_Node_Str") + 1, token.length());
    Enumeration enumeration = bundle.findEntries(path, files, false);
    if (enumeration == null) {
        File f = new File(path + File.separator + files);
        if (f.isFile() && f.exists()) {
            try {
                result.add(f.toURL());
            } catch (MalformedURLException e) {
            }
        } else if (f.isDirectory() && f.exists()) {
            addFilesToResult(result, f);
        } else if (new File(path).isDirectory()) {
            File directory = new File(path);
            if (directory.exists() && files.equals("String_Node_Str")) {
                addFilesToResult(result, directory);
            }
        }
    } else {
        while (enumeration.hasMoreElements()) {
            result.add(enumeration.nextElement());
        }
    }
}

Output:
     String token = tokenizer.nextToken().trim();
-    String path = token.substring(0, token.lastIndexOf("String_Node_Str"));
+    int lastSlash = token.lastIndexOf("String_Node_Str");
+    String path = (lastSlash <= 0) ? "String_Node_Str" : token.substring(0, lastSlash);
     int start = path.indexOf("String_Node_Str");


Input:
private RestResult queryNetwork(RestOperation operation, Uri uri, Object item) {
    switch(operation) {
        case AUTHORIZE:
            return networkDelegate.authorize(uri);
        case DELETE:
            return networkDelegate.delete(uri);
        case GET:
            return networkDelegate.get(uri);
        case POST:
            return networkDelegate.post(uri, item);
        case PUT:
            return networkDelegate.put(uri, item);
        default:
            String message = "String_Node_Str" + operation.name();
            return new RestResult(false, message, null);
    }
}

Output:
         case AUTHORIZE:
-            return networkDelegate.authorize(uri);
+            return networkDelegate.authorize(uri, parser);
         case DELETE:


Input:
public void testUsedHeapSizePolicy() {
    final int perNodeHeapMaxSizeInMegaBytes = 10;
    final int nodeCount = 1;
    final String mapName = randomMapName();
    final Config config = createConfig(MaxSizeConfig.MaxSizePolicy.USED_HEAP_SIZE, perNodeHeapMaxSizeInMegaBytes, mapName);
    final Collection<IMap> maps = createMaps(mapName, config, nodeCount);
    setTestSizeEstimator(maps, 1);
    populateMaps(maps, 100);
    assertUsedHeapSizePolicyWorks(maps, perNodeHeapMaxSizeInMegaBytes);
}

Output:
     final Collection<IMap> maps = createMaps(mapName, config, nodeCount);
-    setTestSizeEstimator(maps, 1);
+    setTestSizeEstimator(maps, MemoryUnit.MEGABYTES.toBytes(1));
     populateMaps(maps, 100);


Input:
public static void main(String[] args) throws Exception {
    Options opts = new Options();
    CmdLineParser parser = new CmdLineParser(InstancesSplitter.class, opts);
    String[] data = null;
    try {
        parser.parse(args);
        data = opts.crossValidationMode.split("String_Node_Str");
        if (data.length != 2) {
            throw new IllegalArgumentException();
        }
    } catch (IllegalArgumentException e) {
        parser.printUsage();
        System.exit(1);
    }
    Random.getInstance().setSeed(opts.seed);
    Instances instances = InstancesReader.read(opts.attPath, opts.inputPath);
    File attFile = new File(opts.attPath);
    String prefix = attFile.getName().split("String_Node_Str")[0];
    File dir = new File(opts.outputDirPath);
    if (!dir.exists()) {
        dir.mkdir();
    }
    switch(data[0]) {
        case "String_Node_Str":
            int k = Integer.parseInt(data[1]);
            if (data.length == 2) {
                Instances[][] folds = InstancesSplitter.createCrossValidationFolds(instances, k);
                for (int i = 0; i < folds.length; i++) {
                    String path = opts.outputDirPath + File.separator + "String_Node_Str" + i;
                    File directory = new File(path);
                    if (!directory.exists()) {
                        directory.mkdir();
                    }
                    InstancesWriter.write(folds[i][0], path + File.separator + prefix + "String_Node_Str", path + File.separator + prefix + "String_Node_Str");
                    InstancesWriter.write(folds[i][1], path + File.separator + prefix + "String_Node_Str");
                }
            } else {
                double ratio = Double.parseDouble(data[2]);
                Instances[][] folds = InstancesSplitter.createCrossValidationFolds(instances, k, ratio);
                for (int i = 0; i < folds.length; i++) {
                    String path = opts.outputDirPath + File.separator + "String_Node_Str" + i;
                    File directory = new File(path);
                    if (!directory.exists()) {
                        directory.mkdir();
                    }
                    InstancesWriter.write(folds[i][0], path + File.separator + prefix + "String_Node_Str", path + File.separator + prefix + "String_Node_Str");
                    InstancesWriter.write(folds[i][1], path + File.separator + prefix + "String_Node_Str");
                }
            }
            break;
        case "String_Node_Str":
            double ratio = Double.parseDouble(data[1]);
            Instances[] datasets = InstancesSplitter.split(instances, ratio);
            InstancesWriter.write(datasets[0], opts.outputDirPath + File.separator + prefix + "String_Node_Str", opts.outputDirPath + File.separator + prefix + "String_Node_Str");
            InstancesWriter.write(datasets[1], opts.outputDirPath + File.separator + prefix + "String_Node_Str");
            break;
        default:
            break;
    }
}

Output:
         data = opts.crossValidationMode.split("String_Node_Str");
-        if (data.length != 2) {
+        if (data.length < 2) {
             throw new IllegalArgumentException();


Input:
public BuildImageCmdImpl withDockerfile(File dockerfile) {
    checkNotNull(dockerfile);
    if (!dockerfile.exists()) {
        throw new IllegalArgumentException("String_Node_Str");
    }
    if (!dockerfile.isFile()) {
        throw new IllegalArgumentException("String_Node_Str");
    }
    if (baseDirectory == null) {
        withBaseDirectory(dockerfile.getParentFile());
    }
    this.dockerFile = dockerfile;
    try {
        withTarInputStream(new Dockerfile(dockerfile).parse().buildDockerFolderTar(baseDirectory));
    } catch (IOException e) {
        throw new RuntimeException(e);
    }
    return this;
}

Output:
     try {
-        withTarInputStream(new Dockerfile(dockerfile).parse().buildDockerFolderTar(baseDirectory));
+        withTarInputStream(new Dockerfile(dockerfile, baseDirectory).parse().buildDockerFolderTar());
     } catch (IOException e) {


Input:
public String createSearchString(File file) {
    String fileNameNoExtension = FilenameUtils.removeExtension(file.getName());
    fileNameNoExtension = findIDTagFromFile(file);
    URLCodec codec = new URLCodec();
    try {
        String fileNameURLEncoded = codec.encode(fileNameNoExtension);
        return "String_Node_Str" + fileNameURLEncoded + "String_Node_Str";
    } catch (Exception e) {
        e.printStackTrace();
    }
    return null;
}

Output:
 public String createSearchString(File file) {
-    String fileNameNoExtension = FilenameUtils.removeExtension(file.getName());
-    fileNameNoExtension = findIDTagFromFile(file);
+    String fileNameNoExtension = findIDTagFromFile(file);
     URLCodec codec = new URLCodec();


Input:
public Scene getScene() {
    final World world = World.getInstance();
    if (sceneId != null && sceneId.trim().isEmpty()) {
        return world.getScene(sceneId);
    } else {
        return world.getCurrentScene();
    }
}

Output:
     final World world = World.getInstance();
-    if (sceneId != null && sceneId.trim().isEmpty()) {
+    if (sceneId != null && !sceneId.trim().isEmpty()) {
         return world.getScene(sceneId);


Input:
private boolean serializeMessage(Object payload, MPISendMessage sendMessage, MPIBuffer buffer) {
    MessageType type = sendMessage.getMPIMessage().getType();
    if (!keyed) {
        return serializeData(payload, sendMessage.getSerializationState(), buffer, type);
    } else {
        KeyedContent kc = (KeyedContent) payload;
        return serializeKeyedData(kc.getObject(), kc.getSource(), sendMessage.getSerializationState(), buffer, kc.getContentType(), kc.getKeyType());
    }
}

Output:
         KeyedContent kc = (KeyedContent) payload;
-        return serializeKeyedData(kc.getObject(), kc.getSource(), sendMessage.getSerializationState(), buffer, kc.getContentType(), kc.getKeyType());
+        return serializeKeyedData(kc.getValue(), kc.getKey(), sendMessage.getSerializationState(), buffer, kc.getContentType(), kc.getKeyType());
     }


Input:
public void on_FinedPressed(ActionEvent actionEvent) {
    DirectoryChooser directoryChooser = new DirectoryChooser();
    directoryChooser.setTitle("String_Node_Str");
    File savefile = directoryChooser.showDialog(primaryStage);
    lb_storageplace.setText(savefile.getPath());
    path = savefile.getPath();
}

Output:
 public void on_FinedPressed(ActionEvent actionEvent) {
-    DirectoryChooser directoryChooser = new DirectoryChooser();
-    directoryChooser.setTitle("String_Node_Str");
-    File savefile = directoryChooser.showDialog(primaryStage);
-    lb_storageplace.setText(savefile.getPath());
-    path = savefile.getPath();
+    try {
+        DirectoryChooser directoryChooser = new DirectoryChooser();
+        directoryChooser.setTitle("String_Node_Str");
+        File savefile = directoryChooser.showDialog(primaryStage);
+        lb_storageplace.setText(savefile.getPath());
+        path = savefile.getPath();
+    } catch (NullPointerException n) {
+        informationDialog("String_Node_Str");
+    }
 }


Input:
private void showTip(TableItem item, String msg) {
    if (tip != null && !tip.isDisposed()) {
        tip.dispose();
    }
    tip = new Shell(shell, SWT.ON_TOP | SWT.TOOL);
    tip.setLayout(new FillLayout());
    label = new Label(tip, SWT.NONE);
    label.setForeground(Display.getCurrent().getSystemColor(SWT.COLOR_INFO_FOREGROUND));
    label.setData("String_Node_Str", item);
    label.setText(msg);
    label.addListener(SWT.MouseExit, labelListener);
    label.addListener(SWT.MouseDown, labelListener);
    Point size = tip.computeSize(SWT.DEFAULT, SWT.DEFAULT);
    Rectangle rect = item.getBounds(1);
    Point pt = table.toDisplay(rect.x, rect.y);
    tip.setBounds(pt.x + 10, pt.y + 10, size.x, size.y);
    tip.setVisible(true);
}

Output:
     Point pt = table.toDisplay(rect.x, rect.y);
-    tip.setBounds(pt.x + 10, pt.y + 10, size.x, size.y);
+    tip.setBounds(pt.x + 10, pt.y + 18, size.x, size.y);
     tip.setVisible(true);


Input:
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    NextcloudTalkApplication.getSharedApplication().getComponentApplication().inject(this);
    requestWindowFeature(Window.FEATURE_NO_TITLE);
    getWindow().addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN | WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON | WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD | WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED | WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON);
    getWindow().getDecorView().setSystemUiVisibility(getSystemUiVisibility());
    setContentView(R.layout.activity_call);
    ButterKnife.bind(this);
    roomToken = getIntent().getExtras().getString("String_Node_Str", "String_Node_Str");
    userEntity = Parcels.unwrap((Parcelable) getIntent().getExtras().get("String_Node_Str"));
    callSession = "String_Node_Str";
    credentials = ApiHelper.getCredentials(userEntity.getUsername(), userEntity.getToken());
    callControls.setZ(100.0f);
    basicInitialization();
    if (userUtils.getCurrentUser() != null && userUtils.getCurrentUser() != userEntity) {
        userUtils.createOrUpdateUser(userEntity.getUsername(), userEntity.getToken(), userEntity.getBaseUrl(), null, null, true).subscribe(new Observer<UserEntity>() {
            public void onSubscribe(Disposable d) {
            }
            public void onNext(UserEntity userEntity) {
                cookieManager.getCookieStore().removeAll();
                userUtils.disableAllUsersWithoutId(userEntity.getId());
                initViews();
                checkPermissions();
            }
            public void onError(Throwable e) {
            }
            public void onComplete() {
            }
        });
    } else {
        initViews();
        checkPermissions();
    }
}

Output:
     roomToken = getIntent().getExtras().getString("String_Node_Str", "String_Node_Str");
-    userEntity = Parcels.unwrap((Parcelable) getIntent().getExtras().get("String_Node_Str"));
+    userEntity = Parcels.unwrap(getIntent().getExtras().getParcelable("String_Node_Str"));
     callSession = "String_Node_Str";


Input:
public void schemaOperation() throws IOException, TException, InvalidRequestException, UnavailableException, TimedOutException, SchemaDisagreementException {
    getEntityManagerFactory();
    Assert.assertTrue(CassandraCli.keyspaceExist(_KEYSPACE));
    Assert.assertTrue(CassandraCli.columnFamilyExist("String_Node_Str", _KEYSPACE));
    Assert.assertTrue(CassandraCli.columnFamilyExist("String_Node_Str", _KEYSPACE));
    Assert.assertTrue(CassandraCli.columnFamilyExist("String_Node_Str", _KEYSPACE));
    Assert.assertTrue(CassandraCli.columnFamilyExist("String_Node_Str", _KEYSPACE));
    Assert.assertTrue(CassandraCli.columnFamilyExist("String_Node_Str", _KEYSPACE));
    Assert.assertTrue(CassandraCli.columnFamilyExist("String_Node_Str", _KEYSPACE));
    Assert.assertTrue(CassandraCli.columnFamilyExist("String_Node_Str", _KEYSPACE));
    Assert.assertTrue(CassandraCli.columnFamilyExist("String_Node_Str", _KEYSPACE));
    Assert.assertTrue(CassandraCli.columnFamilyExist("String_Node_Str", _KEYSPACE));
    Assert.assertTrue(CassandraCli.columnFamilyExist("String_Node_Str", _KEYSPACE));
    Assert.assertTrue(CassandraCli.columnFamilyExist("String_Node_Str", _KEYSPACE));
    Assert.assertTrue(CassandraCli.columnFamilyExist("String_Node_Str", _KEYSPACE));
    Assert.assertTrue(CassandraCli.columnFamilyExist("String_Node_Str", _KEYSPACE));
    Assert.assertTrue(CassandraCli.columnFamilyExist("String_Node_Str", _KEYSPACE));
    Assert.assertTrue(CassandraCli.columnFamilyExist("String_Node_Str", _KEYSPACE));
    Assert.assertTrue(CassandraCli.columnFamilyExist("String_Node_Str", _KEYSPACE));
    Assert.assertTrue(CassandraCli.columnFamilyExist("String_Node_Str", _KEYSPACE));
    Assert.assertTrue(CassandraCli.columnFamilyExist("String_Node_Str", _KEYSPACE));
}

Output:
 public void schemaOperation() throws IOException, TException, InvalidRequestException, UnavailableException, TimedOutException, SchemaDisagreementException {
-    getEntityManagerFactory();
+    EntityManagerFactory emf = getEntityManagerFactory(null, _PU);
     Assert.assertTrue(CassandraCli.keyspaceExist(_KEYSPACE));


Input:
public void drawHighlighted(Canvas c, Highlight[] indices) {
    int setCount = mChart.getBarData().getDataSetCount();
    for (int i = 0; i < indices.length; i++) {
        Highlight h = indices[i];
        int index = h.getXIndex();
        int dataSetIndex = h.getDataSetIndex();
        BarDataSet set = mChart.getBarData().getDataSetByIndex(dataSetIndex);
        if (set == null || !set.isHighlightEnabled())
            continue;
        float barspaceHalf = set.getBarSpace() / 2f;
        Transformer trans = mChart.getTransformer(set.getAxisDependency());
        mHighlightPaint.setColor(set.getHighLightColor());
        mHighlightPaint.setAlpha(set.getHighLightAlpha());
        if (index < mChart.getBarData().getYValCount() && index >= 0 && index < (mChart.getXChartMax() * mAnimator.getPhaseX()) / setCount) {
            BarEntry e = mChart.getBarData().getDataSetByIndex(dataSetIndex).getEntryForXIndex(index);
            if (e == null)
                continue;
            float groupspace = mChart.getBarData().getGroupSpace();
            boolean isStack = h.getStackIndex() < 0 ? false : true;
            float x = index * setCount + dataSetIndex + groupspace / 2f + groupspace * index;
            float y = isStack ? e.getVals()[h.getStackIndex()] + e.getBelowSum(h.getStackIndex()) : e.getVal();
            float from = isStack ? e.getBelowSum(h.getStackIndex()) : 0f;
            prepareBarHighlight(x, y, barspaceHalf, from, trans);
            c.drawRect(mBarRect, mHighlightPaint);
            if (mChart.isDrawHighlightArrowEnabled()) {
                mHighlightPaint.setAlpha(255);
                float offsetY = mAnimator.getPhaseY() * 0.07f;
                Path arrow = new Path();
                arrow.moveTo(x + 0.5f, y + offsetY * 0.3f);
                arrow.lineTo(x + 0.2f, y + offsetY);
                arrow.lineTo(x + 0.8f, y + offsetY);
                trans.pathValueToPixel(arrow);
                c.drawPath(arrow, mHighlightPaint);
            }
        }
    }
}

Output:
         if (index < mChart.getBarData().getYValCount() && index >= 0 && index < (mChart.getXChartMax() * mAnimator.getPhaseX()) / setCount) {
-            BarEntry e = mChart.getBarData().getDataSetByIndex(dataSetIndex).getEntryForXIndex(index);
-            if (e == null)
+            BarEntry e = set.getEntryForXIndex(index);
+            if (e == null || e.getXIndex() != index)
                 continue;


Input:
protected ViewModel doPost(HttpServletRequest request, HttpServletResponse response) throws Exception {
    String json;
    AuthenticationRequest authcRequest = null;
    AccessTokenResult result = null;
    try {
        assertAuthorized(request, response);
        String grantType = null;
        try {
            grantType = request.getParameter(GRANT_TYPE_PARAM_NAME);
            Assert.hasText(grantType, "String_Node_Str");
        } catch (IllegalArgumentException e) {
            throw new OAuthException(OAuthErrorCode.INVALID_GRANT);
        }
        grantTypeStatusValidator.validate(grantType);
        switch(grantType) {
            case PASSWORD_GRANT_TYPE:
                result = this.tokenAuthenticationRequest(request, response);
                break;
            case REFRESH_TOKEN_GRANT_TYPE:
                result = this.refreshTokenAuthenticationRequest(request, response);
                break;
            case CLIENT_CREDENTIALS_GRANT_TYPE:
                try {
                    result = this.clientCredentialsAuthenticationRequest(request, response);
                } catch (HttpAuthenticationException e) {
                    log.warn("String_Node_Str", e);
                    throw new OAuthException(OAuthErrorCode.INVALID_CLIENT);
                }
                break;
            case STORMPATH_SOCIAL_GRANT_TYPE:
                try {
                    result = this.stormpathSocialAuthenticationRequest(request, response);
                } catch (HttpAuthenticationException e) {
                    log.warn("String_Node_Str", e);
                    throw new OAuthException(OAuthErrorCode.INVALID_CLIENT);
                }
                break;
            default:
                throw new OAuthException(OAuthErrorCode.UNSUPPORTED_GRANT_TYPE);
        }
        saveResult(request, response, result);
        json = result.getTokenResponse().toJson();
        response.setStatus(HttpServletResponse.SC_OK);
        SuccessfulAuthenticationRequestEvent e = createSuccessEvent(request, response, authcRequest, result);
        publish(e);
    } catch (OAuthException e) {
        log.debug("String_Node_Str", e);
        json = e.toJson();
        response.setStatus(HttpServletResponse.SC_BAD_REQUEST);
        if (e.getErrorCode().equals(OAuthErrorCode.INVALID_CLIENT)) {
            response.setStatus(HttpServletResponse.SC_UNAUTHORIZED);
        }
        try {
            FailedAuthenticationRequestEvent evt = new DefaultFailedAuthenticationRequestEvent(request, response, authcRequest, e);
            publish(evt);
        } catch (Throwable t) {
            log.warn("String_Node_Str", t, e, t);
        }
    }
    response.setContentType(MediaType.APPLICATION_JSON_VALUE);
    response.setHeader("String_Node_Str", "String_Node_Str");
    response.setHeader("String_Node_Str", "String_Node_Str");
    response.setHeader("String_Node_Str", String.valueOf(json.length()));
    response.getWriter().print(json);
    response.getWriter().flush();
    return null;
}

Output:
     } catch (OAuthException e) {
-        log.debug("String_Node_Str", e);
+        log.debug("String_Node_Str" + e.getMessage());
         json = e.toJson();


Input:
public static void setString(String key, String value) {
    config.setProperty(key, value);
    if (vcCfg.containsKey(key)) {
        vcCfg.setProperty(key, value);
    } else if (serengetiCfg.containsKey(key)) {
        serengetiCfg.setProperty(key, value);
    }
}

Output:
         vcCfg.setProperty(key, value);
-    } else if (serengetiCfg.containsKey(key)) {
+    } else {
         serengetiCfg.setProperty(key, value);


Input:
public Map getWrappersHashMap() {
    return getSDOTypeHelperDelegate().getWrappersHashMap();
}

Output:
 public Map getWrappersHashMap() {
-    return getSDOTypeHelperDelegate().getWrappersHashMap();
+    return getTypeHelperDelegate().getWrappersHashMap();
 }


Input:
public void error(Object message, Throwable t) {
    if (isErrorEnabled())
        log(ERROR_LEVEL, message, t);
}

Output:
     if (isErrorEnabled())
-        log(ERROR_LEVEL, message, t);
+        log(LEVEL_ERROR, message, t);
 }


Input:
protected void updateWidget() {
    final boolean hasKey = getKey() != null;
    boolean enabled = hasKey && getEnabled();
    label.setEnabled(enabled);
    minText.setEnabled(enabled);
    maxText.setEnabled(enabled);
    minMaxRange = new NewLineConfig("String_Node_Str");
    if (hasKey) {
        try {
            String s = getPreferences().get(getKey());
            minMaxRange = new NewLineConfig(s);
        } catch (NumberFormatException e) {
        }
    }
    fillFields(minMaxRange);
}

Output:
         try {
-            String s = getPreferences().get(getKey());
+            String s = (String) getPreferences().get(getKey());
             minMaxRange = new NewLineConfig(s);


Input:
private void finishPleaseResponse(boolean wasCancelledByDialog) {
    if (m_lastPlease.m_stateCode == BluetoothEnablerListener.Please.DO_NEXT) {
        m_currentStage = m_currentStage.next();
        m_currentEvent = wasCancelledByDialog ? new BluetoothEnablerListener.BluetoothEnablerEvent(m_currentStage, BluetoothEnablerListener.Status.CANCELLED_BY_DIALOG) : new BluetoothEnablerListener.BluetoothEnablerEvent(m_currentStage);
        nextStage();
    } else if (m_lastPlease.m_stateCode == BluetoothEnablerListener.Please.SKIP_NEXT) {
        m_currentStage = m_currentStage.next();
        m_currentEvent = wasCancelledByDialog ? new BluetoothEnablerListener.BluetoothEnablerEvent(m_currentStage, BluetoothEnablerListener.Status.CANCELLED_BY_DIALOG) : new BluetoothEnablerListener.BluetoothEnablerEvent(m_currentStage, BluetoothEnablerListener.Status.SKIPPED);
        nextStage();
    } else if (m_lastPlease.m_stateCode == BluetoothEnablerListener.Please.END) {
        m_currentStage = BluetoothEnablerListener.Stage.LOCATION_SERVICES;
        m_currentEvent = wasCancelledByDialog ? new BluetoothEnablerListener.BluetoothEnablerEvent(m_currentStage, BluetoothEnablerListener.Status.CANCELLED_BY_DIALOG) : new BluetoothEnablerListener.BluetoothEnablerEvent(m_currentStage);
    }
}

Output:
         m_currentStage = m_currentStage.next();
-        m_currentEvent = wasCancelledByDialog ? new BluetoothEnablerListener.BluetoothEnablerEvent(m_currentStage, BluetoothEnablerListener.Status.CANCELLED_BY_DIALOG) : new BluetoothEnablerListener.BluetoothEnablerEvent(m_currentStage);
-        nextStage();
+        BluetoothEnablerListener.BluetoothEnablerEvent nextEvent = wasCancelledByDialog ? new BluetoothEnablerListener.BluetoothEnablerEvent(m_currentStage, BluetoothEnablerListener.Status.CANCELLED_BY_DIALOG) : new BluetoothEnablerListener.BluetoothEnablerEvent(m_currentStage);
+        nextStage(nextEvent);
     } else if (m_lastPlease.m_stateCode == BluetoothEnablerListener.Please.SKIP_NEXT) {


Input:
public TypeOracle build(final TreeLogger logger) throws UnableToCompleteException {
    PerfLogger.start("String_Node_Str");
    Set<CompilationUnitProvider> addedCups = cacheManager.getAddedCups();
    TypeOracle oracle = cacheManager.getTypeOracle();
    for (Iterator<CompilationUnitProvider> iter = addedCups.iterator(); iter.hasNext(); ) {
        CompilationUnitProvider cup = iter.next();
        String location = cup.getLocation();
        if (!((location.indexOf("String_Node_Str") != -1) || (location.indexOf("String_Node_Str") != -1))) {
            location = Util.findFileName(location);
            if (!(new File(location).exists() || cup.isTransient())) {
                iter.remove();
                logger.log(TreeLogger.TRACE, "String_Node_Str" + location + "String_Node_Str", null);
            }
        }
    }
    CompilationUnitProvider[] cups = Util.toArray(CompilationUnitProvider.class, addedCups);
    Arrays.sort(cups, CompilationUnitProvider.LOCATION_COMPARATOR);
    boolean foundJavaLangPackage = oracle.findPackage("String_Node_Str") != null;
    ICompilationUnit[] units = new ICompilationUnit[cups.length];
    for (int i = 0; i < cups.length; i++) {
        if (!foundJavaLangPackage && cups[i].getPackageName().equals("String_Node_Str")) {
            foundJavaLangPackage = true;
        }
        units[i] = cacheManager.findUnitForCup(cups[i]);
    }
    if (!foundJavaLangPackage) {
        Util.logMissingTypeErrorWithHints(logger, "String_Node_Str");
        throw new UnableToCompleteException();
    }
    PerfLogger.start("String_Node_Str");
    CompilationUnitDeclaration[] cuds = cacheManager.getAstCompiler().getChangedCompilationUnitDeclarations(logger, units);
    PerfLogger.end();
    final Map<String, CompilationUnitDeclaration> cudsByFileName = new TreeMap<String, CompilationUnitDeclaration>();
    for (int i = 0; i < cuds.length; i++) {
        CompilationUnitDeclaration cud = cuds[i];
        char[] location = cud.getFileName();
        cudsByFileName.put(String.valueOf(location), cud);
    }
    cacheManager.getCudsByFileName().putAll(cudsByFileName);
    removeUnitsWithErrors(logger, cudsByFileName);
    final CacheManager.Mapper identityMapper = cacheManager.getIdentityMapper();
    for (Iterator<CompilationUnitDeclaration> iter = cudsByFileName.values().iterator(); iter.hasNext(); ) {
        CompilationUnitDeclaration cud = iter.next();
        cud.traverse(new ASTVisitor() {
            public boolean visit(TypeDeclaration typeDecl, BlockScope scope) {
                JClassType enclosingType = identityMapper.get(typeDecl.binding.enclosingType());
                processType(typeDecl, enclosingType, true);
                return true;
            }
            public boolean visit(TypeDeclaration typeDecl, ClassScope scope) {
                JClassType enclosingType = identityMapper.get(typeDecl.binding.enclosingType());
                processType(typeDecl, enclosingType, false);
                return true;
            }
            public boolean visit(TypeDeclaration typeDecl, CompilationUnitScope scope) {
                processType(typeDecl, null, false);
                return true;
            }
        }, cud.scope);
    }
    for (Iterator<CompilationUnitDeclaration> iter = cudsByFileName.values().iterator(); iter.hasNext(); ) {
        CompilationUnitDeclaration cud = iter.next();
        String loc = String.valueOf(cud.getFileName());
        String processing = "String_Node_Str" + loc;
        final TreeLogger cudLogger = logger.branch(TreeLogger.SPAM, processing, null);
        final char[] source = cud.compilationResult.compilationUnit.getContents();
        cud.traverse(new ASTVisitor() {
            public boolean visit(TypeDeclaration typeDecl, BlockScope scope) {
                if (!resolveTypeDeclaration(cudLogger, source, typeDecl)) {
                    String name = String.valueOf(typeDecl.binding.readableName());
                    String msg = "String_Node_Str" + name;
                    logger.log(TreeLogger.WARN, msg, null);
                }
                return true;
            }
            public boolean visit(TypeDeclaration typeDecl, ClassScope scope) {
                if (!resolveTypeDeclaration(cudLogger, source, typeDecl)) {
                    String name = String.valueOf(typeDecl.binding.readableName());
                    String msg = "String_Node_Str" + name;
                    logger.log(TreeLogger.WARN, msg, null);
                }
                return true;
            }
            public boolean visit(TypeDeclaration typeDecl, CompilationUnitScope scope) {
                if (!resolveTypeDeclaration(cudLogger, source, typeDecl)) {
                    String name = String.valueOf(typeDecl.binding.readableName());
                    String msg = "String_Node_Str" + name;
                    logger.log(TreeLogger.WARN, msg, null);
                }
                return true;
            }
        }, cud.scope);
    }
    Util.invokeInaccessableMethod(TypeOracle.class, "String_Node_Str", new Class[] { TreeLogger.class }, oracle, new Object[] { logger });
    PerfLogger.end();
    return oracle;
}

Output:
     PerfLogger.end();
-    final Map<String, CompilationUnitDeclaration> cudsByFileName = new TreeMap<String, CompilationUnitDeclaration>();
+    final Map<String, CompilationUnitDeclaration> unchangedCudsByFileName = new TreeMap<String, CompilationUnitDeclaration>();
+    unchangedCudsByFileName.putAll(cacheManager.getCudsByFileName());
+    final Map<String, CompilationUnitDeclaration> changedCudsByFileName = new TreeMap<String, CompilationUnitDeclaration>();
     for (int i = 0; i < cuds.length; i++) {


Input:
private void fillTDManager(TDManagerDTO dto, ITDManager po) {
    dto.setUniqueIds(po.getUniqueIds());
    for (IDataSetPO dataSet : po.getDataSets()) {
        DataSetDTO dsDTO = new DataSetDTO();
        dsDTO.setColumns(dataSet.getColumns());
        dto.addDataSet(dsDTO);
    }
}

Output:
         DataSetDTO dsDTO = new DataSetDTO();
-        dsDTO.setColumns(dataSet.getColumns());
+        dsDTO.setColumns(dataSet.getColumnsCopy());
         dto.addDataSet(dsDTO);


Input:
public void manualLoad(BabuDBRequest<Boolean> listener, LSN from, LSN to) {
    this.listener = listener;
    org.xtreemfs.babudb.interfaces.LSN start = new org.xtreemfs.babudb.interfaces.LSN(from.getViewId(), from.getSequenceNo());
    org.xtreemfs.babudb.interfaces.LSN end = new org.xtreemfs.babudb.interfaces.LSN(to.getViewId(), to.getSequenceNo());
    missing = new LSNRange(start, end);
    setLogic(REQUEST, "String_Node_Str");
    if (q.isEmpty())
        q.add(new StageRequest(null));
}

Output:
     org.xtreemfs.babudb.interfaces.LSN start = new org.xtreemfs.babudb.interfaces.LSN(from.getViewId(), from.getSequenceNo());
-    org.xtreemfs.babudb.interfaces.LSN end = new org.xtreemfs.babudb.interfaces.LSN(to.getViewId(), to.getSequenceNo());
+    org.xtreemfs.babudb.interfaces.LSN end = new org.xtreemfs.babudb.interfaces.LSN(to.getViewId(), to.getSequenceNo() + 1L);
     missing = new LSNRange(start, end);


Input:
private static void initializeHiddenComponents() {
    RepositoryContext repositoryContext = (RepositoryContext) CoreRuntimePlugin.getInstance().getContext().getProperty(Context.REPOSITORY_CONTEXT_KEY);
    if (repositoryContext == null) {
        return;
    }
    Project project = repositoryContext.getProject();
    if (project == null) {
        return;
    }
    org.talend.core.model.properties.Project emfProject = project.getEmfProject();
    if (emfProject == null) {
        return;
    }
    hiddenComponents = new HashMap<String, Map<String, Set<String>>>();
    EList list = emfProject.getComponentsSettings();
    for (IComponent component : ComponentsFactoryProvider.getInstance().getComponents()) {
        if (component.isTechnical() || component.getComponentType() == EComponentType.JOBLET) {
            continue;
        }
        if (!hiddenComponents.containsKey(component.getPaletteType())) {
            hiddenComponents.put(component.getPaletteType(), new HashMap<String, Set<String>>());
        }
        if (!component.isVisibleInComponentDefinition()) {
            hiddenComponents.get(component.getPaletteType()).put(component.getName(), new HashSet<String>());
            for (String family : component.getOriginalFamilyName().split(ComponentsFactoryProvider.FAMILY_SEPARATOR_REGEX)) {
                hiddenComponents.get(component.getPaletteType()).get(component.getName()).add(family);
            }
        }
    }
    for (Object oSetting : list) {
        ComponentSetting setting = (ComponentSetting) oSetting;
        String paletteType;
        String componentName;
        if (setting.getName().contains("String_Node_Str")) {
            String[] splitted = setting.getName().split(ComponentsFactoryProvider.FAMILY_SEPARATOR_REGEX);
            paletteType = splitted[0];
            componentName = splitted[1];
        } else {
            paletteType = ComponentCategory.CATEGORY_4_DI.getName();
            componentName = setting.getName();
        }
        if (!hiddenComponents.containsKey(paletteType)) {
            hiddenComponents.put(paletteType, new HashMap<String, Set<String>>());
        }
        if (setting.isHidden()) {
            if (!hiddenComponents.get(paletteType).containsKey(componentName)) {
                hiddenComponents.get(paletteType).put(componentName, new HashSet<String>());
            }
            for (String family : setting.getFamily().split(ComponentsFactoryProvider.FAMILY_SEPARATOR_REGEX)) {
                hiddenComponents.get(paletteType).get(componentName).add(family);
            }
        } else {
            if (hiddenComponents.get(paletteType).containsKey(componentName)) {
                for (String family : setting.getFamily().split(ComponentsFactoryProvider.FAMILY_SEPARATOR_REGEX)) {
                    hiddenComponents.get(paletteType).get(componentName).remove(family);
                }
                if (hiddenComponents.get(paletteType).get(componentName).isEmpty()) {
                    hiddenComponents.get(paletteType).remove(componentName);
                }
            }
        }
    }
    displayedFamilies = new HashMap<String, Set<String>>();
    for (IComponent component : ComponentsFactoryProvider.getInstance().getComponents()) {
        if (component.isTechnical() || component.getComponentType() == EComponentType.JOBLET) {
            continue;
        }
        if (!displayedFamilies.containsKey(component.getPaletteType())) {
            displayedFamilies.put(component.getPaletteType(), new HashSet<String>());
        }
        for (String family : component.getOriginalFamilyName().split(ComponentsFactoryProvider.FAMILY_SEPARATOR_REGEX)) {
            if (isComponentVisible(component, null)) {
                displayedFamilies.get(component.getPaletteType()).add(family);
            }
        }
    }
}

Output:
     EList list = emfProject.getComponentsSettings();
-    for (IComponent component : ComponentsFactoryProvider.getInstance().getComponents()) {
+    Collection<IComponent> componentList = ComponentsFactoryProvider.getInstance().readComponents();
+    for (IComponent component : componentList) {
         if (component.isTechnical() || component.getComponentType() == EComponentType.JOBLET) {


Input:
public void onShowUsage(PrintStream out) {
    out.println("String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str");
}

Output:
 public void onShowUsage(PrintStream out) {
-    out.println("String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str");
+    out.println("String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str" + "String_Node_Str");
 }


Input:
private void pad() {
    int extra = engine.getByteLength() - (int) (inputLength % engine.getByteLength());
    if (extra < 13) {
        extra = engine.getByteLength();
    }
    byte[] padded = new byte[extra];
    padded[0] = (byte) 0x80;
    Pack.longToLittleEndian(inputLength * BITS_IN_BYTE, padded, padded.length - 12);
    engine.update(padded, 0, padded.length);
}

Output:
     if (extra < 13) {
-        extra = engine.getByteLength();
+        extra += engine.getByteLength();
     }


Input:
public boolean onCommand(CommandSender sender, Command command, String label, String[] args) {
    if (sender instanceof Player) {
        Player player = (Player) sender;
        if (args.length == 1 && MyPetPermissions.has(player, "String_Node_Str", false)) {
            Player petOwner = Bukkit.getServer().getPlayer(args[0]);
            if (petOwner == null || !petOwner.isOnline()) {
                sender.sendMessage(MyPetBukkitUtil.setColors(MyPetLanguage.getString("String_Node_Str")));
                return true;
            } else if (!MyPetList.hasMyPet(petOwner)) {
                sender.sendMessage(MyPetBukkitUtil.setColors(MyPetLanguage.getString("String_Node_Str").replace("String_Node_Str", petOwner.getName())));
                return true;
            }
            MyPet myPet = MyPetList.getMyPet(petOwner);
            if (myPet.getSkills().isSkillActive("String_Node_Str")) {
                ((Beacon) myPet.getSkills().getSkill("String_Node_Str")).activate(player);
            }
        } else if (MyPetList.hasMyPet(player)) {
            MyPet myPet = MyPetList.getMyPet(player);
            if (!MyPetPermissions.hasExtended(player, "String_Node_Str")) {
                myPet.sendMessageToOwner(MyPetBukkitUtil.setColors(MyPetLanguage.getString("String_Node_Str")));
                return true;
            }
            if (myPet.getStatus() == PetState.Despawned) {
                sender.sendMessage(MyPetBukkitUtil.setColors(MyPetLanguage.getString("String_Node_Str")).replace("String_Node_Str", myPet.petName));
                return true;
            }
            if (myPet.getStatus() == PetState.Dead) {
                sender.sendMessage(MyPetBukkitUtil.setColors(MyPetLanguage.getString("String_Node_Str")).replace("String_Node_Str", myPet.petName).replace("String_Node_Str", "String_Node_Str" + myPet.respawnTime));
                return true;
            }
            if (args.length >= 1 && args[0].equalsIgnoreCase("String_Node_Str")) {
                ((Beacon) myPet.getSkills().getSkill("String_Node_Str")).stop(true);
                return true;
            }
            if (player.getGameMode() == GameMode.CREATIVE && !MyPetPermissions.has(player, "String_Node_Str", false)) {
                sender.sendMessage(MyPetBukkitUtil.setColors(MyPetLanguage.getString("String_Node_Str")).replace("String_Node_Str", myPet.petName));
                return true;
            }
            if (myPet.getSkills().hasSkill("String_Node_Str")) {
                ((ISkillActive) myPet.getSkills().getSkill("String_Node_Str")).activate();
            }
        } else {
            sender.sendMessage(MyPetBukkitUtil.setColors(MyPetLanguage.getString("String_Node_Str")));
        }
        return true;
    }
    sender.sendMessage("String_Node_Str");
    return true;
}

Output:
         Player player = (Player) sender;
-        if (args.length == 1 && MyPetPermissions.has(player, "String_Node_Str", false)) {
+        if (args.length == 1 && !args[0].equalsIgnoreCase("String_Node_Str") && MyPetPermissions.has(player, "String_Node_Str", false)) {
             Player petOwner = Bukkit.getServer().getPlayer(args[0]);


Input:
private boolean sendPushUDP(RemoteFileDesc file, byte[] guid) {
    PushRequest pr = new PushRequest(guid, (byte) 2, file.getClientGUID(), file.getIndex(), RouterService.getAddress(), RouterService.getPort(), Message.N_UDP);
    if (LOG.isInfoEnabled())
        LOG.info("String_Node_Str" + pr);
    UDPService udpService = UDPService.instance();
    try {
        InetAddress address = InetAddress.getByName(file.getHost());
        if (NetworkUtils.isValidAddress(address) && NetworkUtils.isValidPort(file.getPort()))
            udpService.send(pr, address, file.getPort());
    } catch (UnknownHostException notCritical) {
    } finally {
        IPFilter filter = IPFilter.instance();
        Set proxies = file.getPushProxies();
        for (Iterator iter = proxies.iterator(); iter.hasNext(); ) {
            IpPort ppi = (IpPort) iter.next();
            if (filter.allow(ppi.getAddress()))
                udpService.send(pr, ppi.getInetAddress(), ppi.getPort());
        }
    }
    return true;
}

Output:
         InetAddress address = InetAddress.getByName(file.getHost());
-        if (NetworkUtils.isValidAddress(address) && NetworkUtils.isValidPort(file.getPort()))
+        if (NetworkUtils.isValidAddress(address) && NetworkUtils.isValidPort(file.getPort())) {
             udpService.send(pr, address, file.getPort());


Input:
public void fire() throws IllegalActionException {
    iterate(1);
}

Output:
 public void fire() throws IllegalActionException {
-    iterate(1);
+    double xCurrent;
+    double yCurrent;
+    double window;
+    if (input.hasToken(0)) {
+        DoubleToken in = (DoubleToken) input.get(0);
+        xCurrent = (in).doubleValue();
+        window = xCurrent;
+        for (int j = 1; j < _denominator.length; j++) {
+            window += _denominator[j] * _stateVector[(_currentTap + j) % _stateVector.length];
+        }
+        _latestWindow = window;
+        double savedState = _stateVector[_currentTap];
+        _stateVector[_currentTap] = window;
+        yCurrent = 0;
+        for (int k = 0; k < _numerator.length; k++) {
+            yCurrent += _numerator[k] * _stateVector[(_currentTap + k) % _stateVector.length];
+        }
+        _stateVector[_currentTap] = savedState;
+        DoubleToken out = new DoubleToken(yCurrent);
+        output.send(0, out);
+    }
 }


Input:
public org.hl7.fhir.dstu2.model.Provenance.ProvenanceEntityComponent convertProvenanceEntityComponent(org.hl7.fhir.dstu3.model.Provenance.ProvenanceEntityComponent src) throws FHIRException {
    if (src == null)
        return null;
    org.hl7.fhir.dstu2.model.Provenance.ProvenanceEntityComponent tgt = new org.hl7.fhir.dstu2.model.Provenance.ProvenanceEntityComponent();
    copyElement(src, tgt);
    tgt.setRole(convertProvenanceEntityRole(src.getRole()));
    tgt.setType(convertCoding(src.getType()));
    tgt.setReference(src.getReference());
    tgt.setDisplay(src.getDisplay());
    return tgt;
}

Output:
 public org.hl7.fhir.dstu2.model.Provenance.ProvenanceEntityComponent convertProvenanceEntityComponent(org.hl7.fhir.dstu3.model.Provenance.ProvenanceEntityComponent src) throws FHIRException {
-    if (src == null)
+    if (src == null || src.isEmpty())
         return null;


Input:
public void setup() {
    InetSocketAddress dummyAddr = new InetSocketAddress("String_Node_Str", 12345);
    DataStatistics dataStats = new DataStatistics();
    dataStats.cacheBaseStatistics(new FileInputFormat.FileBaseStatistics(1000, 128 * 1024 * 1024, 8.0f), CACHE_KEY);
    this.compiler = new PactCompiler(dataStats, new DefaultCostEstimator(), dummyAddr);
    InstanceType iType = InstanceTypeFactory.construct("String_Node_Str", 6, 2, 4096, 100, 0);
    HardwareDescription hDesc = HardwareDescriptionFactory.construct(2, 4096 * 1024 * 1024, 2000 * 1024 * 1024);
    this.instanceType = InstanceTypeDescriptionFactory.construct(iType, hDesc, defaultParallelism * 2);
}

Output:
     HardwareDescription hDesc = HardwareDescriptionFactory.construct(2, 4096 * 1024 * 1024, 2000 * 1024 * 1024);
-    this.instanceType = InstanceTypeDescriptionFactory.construct(iType, hDesc, defaultParallelism * 2);
+    this.instanceType = InstanceTypeDescriptionFactory.construct(iType, hDesc, DEFAULT_PARALLELISM * 2);
 }


Input:
public Heap drop(Item item, int cell) {
    if ((Dungeon.isChallenged(Challenges.NO_FOOD) && (item instanceof Food || item instanceof BlandfruitBush.Seed)) || (Dungeon.isChallenged(Challenges.NO_ARMOR) && item instanceof Armor) || (Dungeon.isChallenged(Challenges.NO_HEALING) && item instanceof PotionOfHealing) || (Dungeon.isChallenged(Challenges.NO_HERBALISM) && (item instanceof Plant.Seed || item instanceof Dewdrop || item instanceof SeedPouch)) || (Dungeon.isChallenged(Challenges.NO_SCROLLS) && ((item instanceof Scroll && !(item instanceof ScrollOfUpgrade)) || item instanceof ScrollHolder)) || item == null) {
        Heap heap = new Heap();
        GameScene.add(heap);
        return heap;
    }
    if ((map[cell] == Terrain.ALCHEMY) && (!(item instanceof Plant.Seed || item instanceof Blandfruit) || item instanceof BlandfruitBush.Seed || (item instanceof Blandfruit && (((Blandfruit) item).potionAttrib != null || heaps.get(cell) != null)) || Dungeon.hero.buff(AlchemistsToolkit.alchemy.class) != null && Dungeon.hero.buff(AlchemistsToolkit.alchemy.class).isCursed())) {
        int n;
        do {
            n = cell + NEIGHBOURS8[Random.Int(8)];
        } while (map[n] != Terrain.EMPTY_SP);
        cell = n;
    }
    Heap heap = heaps.get(cell);
    if (heap == null) {
        heap = new Heap();
        heap.pos = cell;
        if (map[cell] == Terrain.CHASM || (Dungeon.level != null && pit[cell])) {
            Dungeon.dropToChasm(item);
            GameScene.discard(heap);
        } else {
            heaps.put(cell, heap);
            GameScene.add(heap);
        }
    } else if (heap.type == Heap.Type.LOCKED_CHEST || heap.type == Heap.Type.CRYSTAL_CHEST) {
        int n;
        do {
            n = cell + Level.NEIGHBOURS8[Random.Int(8)];
        } while (!Level.passable[n] && !Level.avoid[n]);
        return drop(item, n);
    }
    heap.drop(item);
    if (Dungeon.level != null) {
        press(cell, null);
    }
    return heap;
}

Output:
         Heap heap = new Heap();
-        GameScene.add(heap);
+        ItemSprite sprite = heap.sprite = new ItemSprite();
+        sprite.link(heap);
         return heap;


Input:
public void apply(ManagedSource data) {
    URI uri = newParams().forURL(config.newAPIEndpointURI(START));
    POST request = config.http().POST(uri, new PageReader(newRequestCallback(future, data, config))).form("String_Node_Str", data.getId());
    applyConfig(request).execute();
}

Output:
     POST request = config.http().POST(uri, new PageReader(newRequestCallback(future, data, config))).form("String_Node_Str", data.getId());
-    applyConfig(request).execute();
+    performRequest(future, request);
 }


Input:
protected boolean doBuild(AjBuildConfig buildConfig, IMessageHandler baseHandler, boolean batch) throws IOException, AbortException {
    boolean ret = true;
    batchCompile = batch;
    try {
        if (batch) {
            this.state = new AjState(this);
        }
        boolean canIncremental = state.prepareForNextBuild(buildConfig);
        if (!canIncremental && !batch) {
            return doBuild(buildConfig, baseHandler, true);
        }
        this.handler = CountingMessageHandler.makeCountingMessageHandler(baseHandler);
        String check = checkRtJar(buildConfig);
        if (check != null) {
            if (FAIL_IF_RUNTIME_NOT_FOUND) {
                MessageUtil.error(handler, check);
                return false;
            } else {
                MessageUtil.warn(handler, check);
            }
        }
        setBuildConfig(buildConfig);
        setupModel();
        if (batch) {
            initBcelWorld(handler);
        }
        if (handler.hasErrors()) {
            return false;
        }
        if (buildConfig.getOutputJar() != null) {
            if (!openOutputStream(buildConfig.getOutputJar()))
                return false;
        }
        if (batch) {
            if (buildConfig.isEmacsSymMode() || buildConfig.isGenerateModelMode()) {
                bcelWorld.setModel(AsmManager.getDefault().getHierarchy());
            }
            performCompilation(buildConfig.getFiles());
            if (handler.hasErrors()) {
                return false;
            }
        } else {
            List files = state.getFilesToCompile(true);
            for (int i = 0; (i < 5) && !files.isEmpty(); i++) {
                performCompilation(files);
                if (handler.hasErrors() || (progressListener != null && progressListener.isCancelledRequested())) {
                    return false;
                }
                files = state.getFilesToCompile(false);
            }
            if (!files.isEmpty()) {
                return batchBuild(buildConfig, baseHandler);
            }
        }
        if (buildConfig.isEmacsSymMode()) {
            new org.aspectj.ajdt.internal.core.builder.EmacsStructureModelManager().externalizeModel();
        }
        state.successfulCompile(buildConfig);
        copyResourcesToDestination();
        if (buildConfig.isGenerateModelMode()) {
            AsmManager.getDefault().fireModelUpdated();
        }
    } finally {
        if (zos != null) {
            closeOutputStream();
        }
        ret = !handler.hasErrors();
        handler = null;
    }
    return ret;
}

Output:
             List files = state.getFilesToCompile(true);
-            for (int i = 0; (i < 5) && !files.isEmpty(); i++) {
+            binarySourcesForTheNextCompile = state.getBinaryFilesToCompile();
+            boolean hereWeGoAgain = !(files.isEmpty() && binarySourcesForTheNextCompile.isEmpty());
+            for (int i = 0; (i < 5) && hereWeGoAgain; i++) {
                 performCompilation(files);


Input:
private String decodeAlarm(String event) {
    if (event.equals('Z')) {
        return Position.ALARM_LOW_BATTERY;
    } else if (event.equals('X')) {
        return Position.ALARM_GEOFENCE_ENTER;
    } else if (event.equals('T')) {
        return Position.ALARM_TAMPERING;
    } else if (event.equals("String_Node_Str")) {
        return Position.ALARM_POWER_OFF;
    } else if (event.equals('X')) {
        return Position.ALARM_GEOFENCE_ENTER;
    } else if (event.equals('8')) {
        return Position.ALARM_SHOCK;
    } else if (event.equals('7') && event.equals('4')) {
        return Position.ALARM_GEOFENCE_EXIT;
    } else if (event.equals('6')) {
        return Position.ALARM_OVERSPEED;
    } else if (event.equals('3')) {
        return Position.ALARM_SOS;
    }
    return null;
}

Output:
 private String decodeAlarm(String event) {
-    if (event.equals('Z')) {
-        return Position.ALARM_LOW_BATTERY;
-    } else if (event.equals('X')) {
-        return Position.ALARM_GEOFENCE_ENTER;
-    } else if (event.equals('T')) {
-        return Position.ALARM_TAMPERING;
-    } else if (event.equals("String_Node_Str")) {
-        return Position.ALARM_POWER_OFF;
-    } else if (event.equals('X')) {
-        return Position.ALARM_GEOFENCE_ENTER;
-    } else if (event.equals('8')) {
-        return Position.ALARM_SHOCK;
-    } else if (event.equals('7') && event.equals('4')) {
-        return Position.ALARM_GEOFENCE_EXIT;
-    } else if (event.equals('6')) {
-        return Position.ALARM_OVERSPEED;
-    } else if (event.equals('3')) {
-        return Position.ALARM_SOS;
+    switch(event) {
+        case "String_Node_Str":
+            return Position.ALARM_LOW_BATTERY;
+        case "String_Node_Str":
+            return Position.ALARM_GEOFENCE_ENTER;
+        case "String_Node_Str":
+            return Position.ALARM_TAMPERING;
+        case "String_Node_Str":
+            return Position.ALARM_POWER_OFF;
+        case "String_Node_Str":
+            return Position.ALARM_SHOCK;
+        case "String_Node_Str":
+        case "String_Node_Str":
+            return Position.ALARM_GEOFENCE_EXIT;
+        case "String_Node_Str":
+            return Position.ALARM_OVERSPEED;
+        case "String_Node_Str":
+            return Position.ALARM_SOS;
+        default:
+            return null;
     }


Input:
private void unpackAttributes(World world) {
    Attribute[] attrs = field.getAttributes();
    List as = BcelAttributes.readAjAttributes(attrs, getSourceContext(world), world.getMessageHandler());
    for (Iterator iter = as.iterator(); iter.hasNext(); ) {
        AjAttribute a = (AjAttribute) iter.next();
        if (a instanceof AjAttribute.AjSynthetic) {
            isAjSynthetic = true;
        } else {
            throw new BCException("String_Node_Str" + a);
        }
    }
    isAjSynthetic = false;
    for (int i = attrs.length - 1; i >= 0; i--) {
        if (attrs[i] instanceof Synthetic)
            isSynthetic = true;
    }
}

Output:
     Attribute[] attrs = field.getAttributes();
-    List as = BcelAttributes.readAjAttributes(attrs, getSourceContext(world), world.getMessageHandler());
+    List as = BcelAttributes.readAjAttributes(getDeclaringType().getClassName(), attrs, getSourceContext(world), world.getMessageHandler());
     for (Iterator iter = as.iterator(); iter.hasNext(); ) {


Input:
public WorldComponent getComponent(Class<? extends Component> aClass) {
    for (Class<? extends Component> c : components.keySet()) {
        if (aClass.isAssignableFrom(c))
            return (WorldComponent) components.get(c);
    }
    return null;
}

Output:
         if (aClass.isAssignableFrom(c))
-            return (WorldComponent) components.get(c);
+            return (T) components.get(c);
     }


Input:
public polyglot.ast.Node override(polyglot.ast.Node parent, polyglot.ast.Node n) {
    if (n instanceof polyglot.ast.LocalClassDecl) {
        inners.add(new polyglot.util.IdentityKey(((polyglot.ast.LocalClassDecl) n).decl().type()));
        return n;
    } else if (n instanceof polyglot.ast.New) {
        if (((polyglot.ast.New) n).anonType() != null) {
            inners.add(new polyglot.util.IdentityKey(((polyglot.ast.New) n).anonType()));
            return n;
        }
    }
    return null;
}

Output:
         inners.add(new polyglot.util.IdentityKey(((polyglot.ast.LocalClassDecl) n).decl().type()));
-        return n;
+        return null;
     } else if (n instanceof polyglot.ast.New) {


Input:
private void readSparseInstance(StreamTokenizer tokenizer, AttributeDataset data, Attribute[] attributes) throws IOException, ParseException {
    double[] x = responseIndex >= 0 ? new double[attributes.length - 1] : new double[attributes.length];
    double y = Double.NaN;
    int index = -1;
    do {
        getNextToken(tokenizer);
        if (tokenizer.ttype == '}') {
            break;
        }
        String s = tokenizer.sval.trim();
        if (index < 0) {
            index = Integer.parseInt(s);
            if (index < 0 || index >= attributes.length) {
                throw new ParseException("String_Node_Str" + index, tokenizer.lineno());
            }
        } else {
            String val = s;
            if (index != responseIndex) {
                if (val.equals("String_Node_Str")) {
                    x[index] = Double.NaN;
                } else {
                    x[index] = attributes[index].valueOf(val);
                }
            } else {
                if (val.equals("String_Node_Str")) {
                    y = Double.NaN;
                } else {
                    y = attributes[index].valueOf(val);
                }
            }
            index = -1;
        }
    } while (tokenizer.ttype == StreamTokenizer.TT_WORD);
    data.add(x, y);
}

Output:
     } while (tokenizer.ttype == StreamTokenizer.TT_WORD);
-    data.add(x, y);
+    if (Double.isNaN(y))
+        data.add(x);
+    else
+        data.add(x, y);
 }


Input:
private static float computeJaccardIndex(Group a, BitSet aBits, Group b, BitSet bBits) {
    BitSet tmp = (BitSet) bBits.clone();
    tmp.and(aBits);
    int intersection = tmp.cardinality();
    int union = a.getSize() + b.getSize() - intersection;
    float score = union == 0 ? 0.f : (float) intersection / union;
    return score;
}

Output:
     int intersection = tmp.cardinality();
-    int union = a.getSize() + b.getSize() - intersection;
+    int union = aBits.cardinality() + aBits.cardinality() - intersection;
     float score = union == 0 ? 0.f : (float) intersection / union;


Input:
private boolean isSplit(String[] segs) {
    int fflags = Integer.parseInt(segs[3]);
    Cigar c = TextCigarCodec.getSingleton().decode(segs[7]);
    return (((fflags & 0x4) == 0x4 && (fflags & 0x8) != 0x8 && (fflags & 0x100) != 0x100) || (isOverSoftClipThreshold(c, segs[11].length()) && (fflags & 0x100) != 0x100));
}

Output:
     Cigar c = TextCigarCodec.getSingleton().decode(segs[7]);
-    return (((fflags & 0x4) == 0x4 && (fflags & 0x8) != 0x8 && (fflags & 0x100) != 0x100) || (isOverSoftClipThreshold(c, segs[11].length()) && (fflags & 0x100) != 0x100));
+    boolean segmentUnmapped = (fflags & 0x4) == 0x4 && (fflags & 0x8) != 0x8 && (fflags & 0x100) != 0x100;
+    boolean softclipThresh = isOverSoftClipThreshold(c, segs[11].length()) && (fflags & 0x100) != 0x100;
+    return segmentUnmapped || softclipThresh;
 }


Input:
public ContainerMethodExecutor deploy(Context context, Archive<?> archive) throws DeploymentException {
    if (WebArchive.class.isInstance(archive)) {
        ArchivePath sunWebXmlPath = ArchivePaths.create("String_Node_Str");
        if (!archive.contains(sunWebXmlPath)) {
            ((WebArchive) archive).addWebResource("String_Node_Str", "String_Node_Str");
        }
    }
    return super.deploy(context, archive);
}

Output:
         if (!archive.contains(sunWebXmlPath)) {
-            ((WebArchive) archive).addWebResource("String_Node_Str", "String_Node_Str");
+            WebArchive.class.cast(archive).addWebResource("String_Node_Str", "String_Node_Str");
         }


Input:
private void checkMiracleAbility(GameEvent event, Game game) {
    Card card = game.getCard(event.getTargetId());
    if (card != null) {
        for (Ability ability : card.getAbilities()) {
            if (ability instanceof MiracleAbility) {
                Player controller = game.getPlayer(ability.getControllerId());
                game.getContinuousEffects().costModification(ability, game);
                ManaCosts<ManaCost> manaCostsToPay = ability.getManaCostsToPay();
                if (controller != null) {
                    game.getStack().add(new StackAbility(ability, controller.getId()));
                    Cards cards = new CardsImpl(Constants.Zone.PICK);
                    cards.add(card);
                    controller.lookAtCards("String_Node_Str", cards, game);
                    if (controller.chooseUse(Constants.Outcome.Benefit, "String_Node_Str" + manaCostsToPay.getText() + "String_Node_Str", game)) {
                        game.getStack().poll();
                        controller.revealCards("String_Node_Str", cards, game);
                        ManaCosts costRef = card.getSpellAbility().getManaCostsToPay();
                        costRef.clear();
                        for (ManaCost manaCost : manaCostsToPay) {
                            costRef.add(manaCost);
                        }
                        controller.cast(card.getSpellAbility(), game, false);
                        break;
                    } else {
                        game.getStack().poll();
                    }
                }
            }
        }
    }
}

Output:
                 if (controller != null) {
-                    game.getStack().add(new StackAbility(ability, controller.getId()));
-                    Cards cards = new CardsImpl(Constants.Zone.PICK);
+                    game.getContinuousEffects().costModification(ability, game);
+                    ManaCosts<ManaCost> manaCostsToPay = ability.getManaCostsToPay();
+                    Cards cards = new CardsImpl(Zone.PICK);
                     cards.add(card);


Input:
public static long binomialCoefficient(final int n, final int k) {
    if (n < k) {
        throw new IllegalArgumentException("String_Node_Str");
    }
    if (n < 0) {
        throw new IllegalArgumentException("String_Node_Str");
    }
    if ((n == k) || (k == 0)) {
        return 1;
    }
    if ((k == 1) || (k == n - 1)) {
        return n;
    }
    long result = Math.round(binomialCoefficientDouble(n, k));
    if (result == Long.MAX_VALUE) {
        throw new ArithmeticException("String_Node_Str");
    }
    return result;
}

Output:
     }
-    long result = Math.round(binomialCoefficientDouble(n, k));
-    if (result == Long.MAX_VALUE) {
-        throw new ArithmeticException("String_Node_Str");
+    if (k > n / 2)
+        return binomialCoefficient(n, n - k);
+    long result = 1;
+    if (n <= 61) {
+        for (int j = 1, i = n - k + 1; j <= k; i++, j++) {
+            result = result * i / j;
+        }
+    } else if (n <= 66) {
+        for (int j = 1, i = n - k + 1; j <= k; i++, j++) {
+            long d = gcd(i, j);
+            result = (result / (j / d)) * (i / d);
+        }
+    } else {
+        for (int j = 1, i = n - k + 1; j <= k; i++, j++) {
+            long d = gcd(i, j);
+            result = mulAndCheck((result / (j / d)), (i / d));
+        }
     }


Input:
public static void setMasterSyncAutomatically(boolean sync) {
    setMasterSyncAutomaticallyAsUser(sync, UserHandle.getCallingUserId());
}

Output:
 public static void setMasterSyncAutomatically(boolean sync) {
-    setMasterSyncAutomaticallyAsUser(sync, UserHandle.getCallingUserId());
+    setMasterSyncAutomaticallyAsUser(sync, UserHandle.myUserId());
 }


Input:
private void processNextMessage() {
    synchronized (messageQueue) {
        if (messageQueue.size() > 0) {
            processMessage(messageQueue.get(0));
            messageQueue.remove(0);
        }
    }
}

Output:
 private void processNextMessage() {
-    synchronized (messageQueue) {
+    synchronized (messageQueueLock) {
         if (messageQueue.size() > 0) {


Input:
public void addAddress(MacAddress macAddress, IpAddress ipAddress, NodeConnectorRef nodeConnectorRef) {
    if (macAddress == null || ipAddress == null || nodeConnectorRef == null) {
        return;
    }
    long now = new Date().getTime();
    final AddressCapableNodeConnectorBuilder acncBuilder = new AddressCapableNodeConnectorBuilder();
    final AddressesBuilder addressBuilder = new AddressesBuilder().setIp(ipAddress).setMac(macAddress).setFirstSeen(now).setLastSeen(now).setKey(new AddressesKey(now));
    List<Addresses> addresses = null;
    NodeConnector nc = (NodeConnector) dataService.readOperationalData(nodeConnectorRef.getValue());
    AddressCapableNodeConnector acnc = (AddressCapableNodeConnector) nc.getAugmentation(AddressCapableNodeConnector.class);
    if (acnc != null && acnc.getAddresses() != null) {
        addresses = acnc.getAddresses();
        for (int i = 0; i < addresses.size(); i++) {
            if (addresses.get(i).getIp().equals(ipAddress) && addresses.get(i).getMac().equals(macAddress)) {
                addressBuilder.setFirstSeen(addresses.get(i).getFirstSeen()).setKey(addresses.get(i).getKey());
                addresses.remove(i);
                break;
            }
        }
    } else {
        addresses = new ArrayList<>();
    }
    addresses.add(addressBuilder.build());
    acncBuilder.setAddresses(addresses);
    NodeConnectorBuilder ncBuilder = new NodeConnectorBuilder(nc).setKey(nc.getKey()).addAugmentation(AddressCapableNodeConnector.class, acncBuilder.build());
    final DataModificationTransaction it = dataService.beginTransaction();
    it.putOperationalData(nodeConnectorRef.getValue(), ncBuilder.build());
    it.commit();
}

Output:
     }
-    long now = new Date().getTime();
-    final AddressCapableNodeConnectorBuilder acncBuilder = new AddressCapableNodeConnectorBuilder();
-    final AddressesBuilder addressBuilder = new AddressesBuilder().setIp(ipAddress).setMac(macAddress).setFirstSeen(now).setLastSeen(now).setKey(new AddressesKey(now));
-    List<Addresses> addresses = null;
-    NodeConnector nc = (NodeConnector) dataService.readOperationalData(nodeConnectorRef.getValue());
-    AddressCapableNodeConnector acnc = (AddressCapableNodeConnector) nc.getAugmentation(AddressCapableNodeConnector.class);
-    if (acnc != null && acnc.getAddresses() != null) {
-        addresses = acnc.getAddresses();
-        for (int i = 0; i < addresses.size(); i++) {
-            if (addresses.get(i).getIp().equals(ipAddress) && addresses.get(i).getMac().equals(macAddress)) {
-                addressBuilder.setFirstSeen(addresses.get(i).getFirstSeen()).setKey(addresses.get(i).getKey());
-                addresses.remove(i);
-                break;
+    NodeConnectorLock nodeConnectorLock;
+    synchronized (this) {
+        nodeConnectorLock = lockMap.get(nodeConnectorRef);
+        if (nodeConnectorLock == null) {
+            nodeConnectorLock = new NodeConnectorLock();
+            lockMap.put(nodeConnectorRef, nodeConnectorLock);
+        }
+    }
+    synchronized (nodeConnectorLock) {
+        long now = new Date().getTime();
+        final AddressCapableNodeConnectorBuilder acncBuilder = new AddressCapableNodeConnectorBuilder();
+        final AddressesBuilder addressBuilder = new AddressesBuilder().setIp(ipAddress).setMac(macAddress).setFirstSeen(now).setLastSeen(now).setKey(new AddressesKey(now));
+        List<Addresses> addresses = null;
+        ReadWriteTransaction readWriteTransaction = dataService.newReadWriteTransaction();
+        NodeConnector nc = null;
+        try {
+            Optional<DataObject> dataObjectOptional = readWriteTransaction.read(LogicalDatastoreType.OPERATIONAL, nodeConnectorRef.getValue()).get();
+            if (dataObjectOptional.isPresent())
+                nc = (NodeConnector) dataObjectOptional.get();
+        } catch (Exception e) {
+            _logger.error("String_Node_Str", nodeConnectorRef.getValue());
+            readWriteTransaction.commit();
+            throw new RuntimeException("String_Node_Str" + nodeConnectorRef, e);
+        }
+        if (nc == null) {
+            readWriteTransaction.commit();
+            return;
+        }
+        AddressCapableNodeConnector acnc = (AddressCapableNodeConnector) nc.getAugmentation(AddressCapableNodeConnector.class);
+        if (acnc != null && acnc.getAddresses() != null) {
+            addresses = acnc.getAddresses();
+            for (int i = 0; i < addresses.size(); i++) {
+                if (addresses.get(i).getIp().equals(ipAddress) && addresses.get(i).getMac().equals(macAddress)) {
+                    addressBuilder.setFirstSeen(addresses.get(i).getFirstSeen()).setKey(addresses.get(i).getKey());
+                    addresses.remove(i);
+                    break;
+                }
             }


Input:
public Date getNextExec() {
    return nextExec;
}

Output:
 public Date getNextExec() {
-    return nextExec;
+    return new Date(nextExec.getTime());
 }


Input:
public void onReceivePacket(ByteArrayDataInput data, EntityPlayer player, Object... extra) {
    try {
        switch(data.readInt()) {
            case 0:
                {
                    this.fangXiang = data.readByte();
                    this.tier = data.readInt();
                    this.setFrequency(data.readInt());
                    this.gaoDu = data.readShort();
                    break;
                }
            case 1:
                {
                    this.setFrequency(data.readInt());
                    break;
                }
            case 2:
                {
                    this.targetPos = new Vector3(data.readDouble(), data.readDouble(), data.readDouble());
                    if (this.getTier() < 2) {
                        this.targetPos.y = 0;
                    }
                    break;
                }
            case 3:
                {
                    this.gaoDu = (short) Math.max(Math.min(data.readShort(), Short.MAX_VALUE), 3);
                    break;
                }
            case 4:
                {
                    this.energy.setEnergy(data.readLong());
                    this.targetPos = new Vector3(data.readDouble(), data.readDouble(), data.readDouble());
                    break;
                }
        }
    } catch (Exception e) {
        e.printStackTrace();
    }
}

Output:
                     this.energy.setEnergy(data.readLong());
-                    this.targetPos = new Vector3(data.readDouble(), data.readDouble(), data.readDouble());
+                    this.targetPos = new Vector3(data.readInt(), data.readInt(), data.readInt());
                     break;


Input:
private CsdlTerm readTerm(StartElement element) {
    CsdlTerm term = new CsdlTerm();
    term.setName(attr(element, "String_Node_Str"));
    term.setType(attr(element, "String_Node_Str"));
    if (attr(element, "String_Node_Str") != null) {
        term.setBaseTerm(attr(element, "String_Node_Str"));
    }
    if (attr(element, "String_Node_Str") != null) {
        term.setDefaultValue(attr(element, "String_Node_Str"));
    }
    if (attr(element, "String_Node_Str") != null) {
        term.setAppliesTo(Arrays.asList(attr(element, "String_Node_Str")));
    }
    term.setNullable(Boolean.parseBoolean(attr(element, "String_Node_Str")));
    String maxLength = attr(element, "String_Node_Str");
    if (maxLength != null) {
        term.setMaxLength(Integer.parseInt(maxLength));
    }
    String precision = attr(element, "String_Node_Str");
    if (precision != null) {
        term.setPrecision(Integer.parseInt(precision));
    }
    String scale = attr(element, "String_Node_Str");
    if (scale != null) {
        term.setScale(Integer.parseInt(scale));
    }
    String srid = attr(element, "String_Node_Str");
    if (srid != null) {
    }
    return term;
}

Output:
     if (attr(element, "String_Node_Str") != null) {
-        term.setAppliesTo(Arrays.asList(attr(element, "String_Node_Str")));
+        term.setAppliesTo(Collections.singletonList(attr(element, "String_Node_Str")));
     }


Input:
public void dataset(Glyphset<?, ?> data, Aggregator<?, ?> aggregator, Transfer<?, ?> transfer) {
    this.dataset = data;
    this.aggregator = aggregator;
    this.transfer(transfer);
    this.aggregates = null;
    this.repaint();
}

Output:
     this.transfer(transfer);
-    this.aggregates = null;
+    aggregates(null, null);
+    fullRender = true;
+    renderError = false;
     this.repaint();


Input:
protected Object unmarshall(Object value) {
    if (value == null || _tzone == null)
        return value;
    return new Date(((Date) value).getTime() + TimeZones.getCurrent().getRawOffset() - _tzone.getRawOffset());
}

Output:
         return value;
-    return new Date(((Date) value).getTime() + TimeZones.getCurrent().getRawOffset() - _tzone.getRawOffset());
+    Date date = (Date) value;
+    return new Date((date).getTime() + Dates.getTimezoneOffset(TimeZones.getCurrent(), date) - Dates.getTimezoneOffset(_tzone, date));
 }