auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
private String getSortValue() { if (accountInfo != null) { if (accountInfo.getPreferredEmail() != null) { return accountInfo.getPreferredEmail(); } else { return accountInfo.getFullName().toString(); } } else { return groupReference.getName(); } }

Target:
private String getSortValue() { if (accountInfo != null) { if (accountInfo.getPreferredEmail() != null) { return accountInfo.getPreferredEmail(); } return accountInfo.getFullName().toString(); } return groupReference.getName(); }
Source:
public void authenticate(SignInMode requestedMode, final String token) { OpenIdUtil.SVC.discover(ssoUrl, requestedMode, /* remember */ false, token, new GerritCallback<DiscoveryResult>() { public void onSuccess(final DiscoveryResult result) { onDiscovery(result); } @Override public void onFailure(final Throwable caught) { super.onFailure(caught); } }); }

Target:
public void authenticate(SignInMode requestedMode, final String token) { OpenIdUtil.SVC.discover(ssoUrl, requestedMode, /* remember */ false, token, new GerritCallback<DiscoveryResult>() { public void onSuccess(final DiscoveryResult result) { onDiscovery(result); } }); }
Source:
protected Class<?> findClass(final String className) throws ClassNotFoundException { final Set<ClassLoader> classLoaders = packageClassLoaderMap.get(getPackageName(className)); if (classLoaders != null) { for (final ClassLoader cl : classLoaders) { try { return Class.forName(className, true, cl); } catch (ClassNotFoundException e) { // ignore } } } throw new ClassNotFoundException(className); }

Target:
protected Class<?> findClass(final String className) throws ClassNotFoundException { final Collection<ClassLoader> classLoaders = packageClassLoaderMap.get(getPackageName(className)); for (final ClassLoader cl : classLoaders) { try { return Class.forName(className, true, cl); } catch (ClassNotFoundException e) { // ignore } } throw new ClassNotFoundException(className); }
Source:
public boolean equals(final Object o) { if (o instanceof IntraLineDiffKey) { final IntraLineDiffKey k = (IntraLineDiffKey) o; return aId.equals(k.aId) // && bId.equals(k.bId) // && ignoreWhitespace.equals(k.ignoreWhitespace); } return false; }

Target:
public boolean equals(final Object o) { if (o instanceof IntraLineDiffKey) { final IntraLineDiffKey k = (IntraLineDiffKey) o; return aId.equals(k.aId) // && bId.equals(k.bId) // && ignoreWhitespace == k.ignoreWhitespace; } return false; }
Source:
public void stop() { if (manager != null) { manager.stop(); manager = null; sysInjector = null; sshInjector = null; httpInjector = null; if (webPluginDir != null) { try { FileUtils.delete(webPluginDir, FileUtils.RECURSIVE); } catch (IOException e) { // ignore (?) } } } }

Target:
public void stop() { if (manager != null) { manager.stop(); manager = null; sysInjector = null; sshInjector = null; httpInjector = null; } }
Source:
public OrmException convertError(String op, String entity, SQLException err) { switch (err.getErrorCode()) { case 1: case 23000: return new OrmDuplicateKeyException(entity, err); default: return super.convertError(op, entity, err); } }

Target:
public OrmException convertError(String op, String entity, SQLException err) { switch (err.getErrorCode()) { case 1: // ORA-00001: unique constraint violated return new OrmDuplicateKeyException(entity, err); default: return super.convertError(op, entity, err); } }
Source:
public boolean authenticate(String username, PublicKey key, ServerSession session) { final SshSession sd = session.getAttribute(SshSession.KEY); SshAuthRequest sshAuth = new SshAuthRequest(username, sd.getRemoteAddress()); sshAuth.setPubKey(key); return authenticate(sd, sshAuth, session); }

Target:
public boolean authenticate(String username, PublicKey key, ServerSession session) { final SshSession sd = session.getAttribute(SshSession.KEY); SshAuthRequest sshAuth = new SshAuthRequest(username, key, sd.getRemoteAddress()); return authenticate(sd, sshAuth, session); }
Source:
public Object apply(MemberResource resource, PutMember.Input input) throws AuthException, MethodNotAllowedException, BadRequestException, OrmException { // nothing to do, the user is already a member of the group return Response.none(); }

Target:
public Object apply(MemberResource resource, PutMember.Input input) { // Do nothing, the user is already a member. return get.get().apply(resource); }
Source:
private String getComment(ChangeAttribute change, ChangeEvent hook, AccountAttribute who, String what) { String name = formatAccountAttribute(who); return getCommentPrefix(change) + "change " + what + " [by " + name + "]"; }

Target:
private String getComment(ChangeAttribute change, ChangeEvent hook, AccountAttribute who, String what) { return getCommentPrefix(change) + "change " + what + " [by " + formatAccountAttribute(who) + "]"; }
Source:
boolean requestRunway (PushOne op) { synchronized (stateLock) { if (op.wasCanceled()) { // Return true here so op doesn't reschedule itself. return true; } if (inFlight.containsKey(op.getURI())) { return false; } pending.remove(op.getURI()); inFlight.put(op.getURI(), op); } return true; }

Target:
boolean requestRunway (PushOne op) { synchronized (stateLock) { if (op.wasCanceled()) { // Return true here so op doesn't reschedule itself. return true; } pending.remove(op.getURI()); if (inFlight.containsKey(op.getURI())) { return false; } inFlight.put(op.getURI(), op); } return true; }
Source:
private int getCorrectedMimeSpecificity(MimeType mimeType) { final int ret; final String mimeTypeStr = mimeType.toString(); if (mimeTypeStr.equals("application/octet-stream")) { ret = -1; } else if (mimeTypeStr.equals("text/plain")) { ret = 0; } else { ret = mimeType.getSpecificity(); } return ret; }

Target:
private int getCorrectedMimeSpecificity(MimeType mimeType) { // Although the documentation of MimeType's getSpecificity claims that for // example "application/octet-stream" always has a specificity of 0, it // effectively returns 1 for us. This causes problems when trying to get // the correct mime type via sorting. For example in // [application/octet-stream, image/x-icon] both mime types come with // specificity 1 for us. Hence, getMimeType below may end up using // application/octet-stream instead of the more specific image/x-icon. // Therefore, we have to force the specificity of generic types below the // default of 1. // final String mimeTypeStr = mimeType.toString(); if (mimeTypeStr.equals("application/octet-stream")) { return -1; } if (mimeTypeStr.equals("text/plain")) { return 0; } return mimeType.getSpecificity(); }
Source:
private static String getGerritHost(String canonicalWebUrl) { String host = null; if (canonicalWebUrl != null) { try { host = new URL(canonicalWebUrl).getHost(); } catch (MalformedURLException e) { // Ignore } } if (host == null) { host = SystemReader.getInstance().getHostname(); } return trimTrailingSlashes(host); }

Target:
private static String getGerritHost(String canonicalWebUrl) { String host; if (canonicalWebUrl != null) { try { host = new URL(canonicalWebUrl).getHost(); } catch (MalformedURLException e) { host = SystemReader.getInstance().getHostname(); } } else { host = SystemReader.getInstance().getHostname(); } return host; }
Source:
CommitPredicate(Provider<ReviewDb> dbProvider, AbbreviatedObjectId id) { super(ChangeField.COMMIT, id.toString()); this.dbProvider = dbProvider; this.abbrevId = id; }

Target:
CommitPredicate(Provider<ReviewDb> dbProvider, AbbreviatedObjectId id) { super(ChangeField.COMMIT, id.name()); this.dbProvider = dbProvider; this.abbrevId = id; }
Source:
void addFileComment(CommentBox box) { boxes.add(box); table.updateFileCommentVisibility(false); body.add(box); }

Target:
void addFileComment(CommentBox box) { boxes.add(box); body.add(box); table.updateFileCommentVisibility(false); }
Source:
private boolean isAuthorizedCall(HttpServletRequest req) { if (Strings.isNullOrEmpty(req.getServletPath())) { return false; } if (req.getServletPath().startsWith(AUTHORIZED_PREFIX)) { return true; } return false; }

Target:
private boolean isAuthorizedCall(HttpServletRequest req) { return !Strings.isNullOrEmpty(req.getServletPath()) && req.getServletPath().startsWith(AUTHORIZED_PREFIX); }
Source:
static NotesMigration allEnabled() { Config cfg = new Config(); cfg.setBoolean("notedb", null, "write", true); cfg.setBoolean("notedb", "patchSetApprovals", "read", true); return new NotesMigration(cfg); }

Target:
static NotesMigration allEnabled() { Config cfg = new Config(); cfg.setBoolean("notedb", null, "write", true); //cfg.setBoolean("notedb", "patchSetApprovals", "read", true); return new NotesMigration(cfg); }
Source:
static boolean isAuthorizedCall(HttpServletRequest req) { return !Strings.isNullOrEmpty(req.getServletPath()) && req.getServletPath().startsWith(AUTHORIZED_PREFIX); }

Target:
private static boolean isAuthorizedCall(HttpServletRequest req) { return !Strings.isNullOrEmpty(req.getServletPath()) && req.getServletPath().startsWith(AUTHORIZED_PREFIX); }
Source:
public void stop() { if (scheduledTask != null) { scheduledTask.cancel(true); } }

Target:
public void stop() { // handled by WorkQueue.stop() already }
Source:
private ReviewInput reviewFromJson() throws UnloggedFailure { try { InputStreamReader r = new InputStreamReader(in, StandardCharsets.UTF_8); return OutputFormat.JSON.newGson(). fromJson(CharStreams.toString(r),ReviewInput.class); } catch (IOException e) { throw error("internal error while reading review input"); } }

Target:
private ReviewInput reviewFromJson() throws UnloggedFailure { try (InputStreamReader r = new InputStreamReader(in, StandardCharsets.UTF_8)) { return OutputFormat.JSON.newGson(). fromJson(CharStreams.toString(r),ReviewInput.class); } catch (IOException e) { throw error("internal error while reading review input"); } }
Source:
protected boolean isEmpty() { return approvals.isEmpty() && reviewers.isEmpty() && commentsForBase.isEmpty() && commentsForPs.isEmpty() && status == null && submitRecords == null && changeMessage == null; }

Target:
private boolean isEmpty() { return approvals.isEmpty() && reviewers.isEmpty() && commentsForBase.isEmpty() && commentsForPs.isEmpty() && status == null && submitRecords == null && changeMessage == null; }
Source:
public Collection<PatchLineComment> publishedComments() throws OrmException { if (publishedComments == null) { publishedComments = Lists.newArrayList(plcUtil.publishedByChange(db, notes())); } return publishedComments; }

Target:
public Collection<PatchLineComment> publishedComments() throws OrmException { if (publishedComments == null) { publishedComments = plcUtil.publishedByChange(db, notes()); } return publishedComments; }
Source:
private List<PatchLineComment> sort(List<PatchLineComment> comments) { Collections.sort(comments, ChangeNotes.PatchLineCommentComparator); return comments; }

Target:
private static List<PatchLineComment> sort(List<PatchLineComment> comments) { Collections.sort(comments, ChangeNotes.PatchLineCommentComparator); return comments; }
Source:
public int weigh(EntryKey k, Boolean v) { // Size of EntryKey, 64-bit JVM. return 16 + 2 * (16 + 20) + 8 + 8 + 2 * k.mergeStrategy.length() + 1; // Size of Boolean. }

Target:
public int weigh(EntryKey k, Boolean v) { return 16 + 2 * (16 + 20) + 4 * 8 // Size of EntryKey, 64-bit JVM. + 1; // Size of Boolean. }
Source:
private List<SubmitRecord> ruleError(String err, Exception e) { if (logErrors) { if (err == null) { log.error(err); } else { log.error(err, e); } return defaultRuleError(); } else { return createRuleError(err); } }

Target:
private List<SubmitRecord> ruleError(String err, Exception e) { if (logErrors) { if (e == null) { log.error(err); } else { log.error(err, e); } return defaultRuleError(); } else { return createRuleError(err); } }
Source:
public BinaryResult apply(ChangeResource rsrc) throws AuthException, IOException, InvalidChangeOperationException, OrmException, NoSuchChangeException { Optional<ChangeEdit> edit = editUtil.byChange(rsrc.getChange()); // TODO(davido): Clean this up by returning 404 when edit doesn't exist. // Client should call GET /changes/{id}/revisions/current/commit in this // case; or, to be consistent with GET content logic, the client could // call directly the right endpoint. String m = edit.isPresent() ? edit.get().getEditCommit().getFullMessage() : changeUtil.getMessage(rsrc.getChange()); return BinaryResult.create(m).base64(); }

Target:
public BinaryResult apply(ChangeResource rsrc) throws AuthException, IOException, OrmException, NoSuchChangeException { Optional<ChangeEdit> edit = editUtil.byChange(rsrc.getChange()); // TODO(davido): Clean this up by returning 404 when edit doesn't exist. // Client should call GET /changes/{id}/revisions/current/commit in this // case; or, to be consistent with GET content logic, the client could // call directly the right endpoint. String m = edit.isPresent() ? edit.get().getEditCommit().getFullMessage() : changeUtil.getMessage(rsrc.getChange()); return BinaryResult.create(m).base64(); }
Source:
public void execute() throws UpdateException, RestApiException { try { executeRefUpdates(); executeChangeOps(); reindexChanges(); // Fire ref update events only after all mutations are finished, since // callers may assume a patch set ref being created means the change was // created, or a branch advancing meaning some changes were closed. gitRefUpdated.fire(project, batchRefUpdate); executePostOps(); } catch (UpdateException | RestApiException e) { // Propagate REST API exceptions thrown by operations. Most operations // should throw non-REST exceptions like NoSuchChangeException, under the // assumption that validation is done by REST API handlers in advance of // executing the batch. They commonly throw ResourceConflictException to // indicate an atomic operation failure. throw e; } catch (Exception e) { Throwables.propagateIfPossible(e); throw new UpdateException(e); } }

Target:
public void execute() throws UpdateException, RestApiException { try { executeRefUpdates(); executeChangeOps(); reindexChanges(); if (batchRefUpdate != null) { // Fire ref update events only after all mutations are finished, since // callers may assume a patch set ref being created means the change was // created, or a branch advancing meaning some changes were closed. gitRefUpdated.fire(project, batchRefUpdate); } executePostOps(); } catch (UpdateException | RestApiException e) { // Propagate REST API exceptions thrown by operations. Most operations // should throw non-REST exceptions like NoSuchChangeException, under the // assumption that validation is done by REST API handlers in advance of // executing the batch. They commonly throw ResourceConflictException to // indicate an atomic operation failure. throw e; } catch (Exception e) { Throwables.propagateIfPossible(e); throw new UpdateException(e); } }
Source:
public boolean isBare() { boolean bareSet = getConfig().getString( ConfigConstants.CONFIG_CORE_SECTION, null, ConfigConstants.CONFIG_KEY_BARE) != null; if (bareSet) // if "bareness" was set in the config, use this value return getConfig().getBoolean(ConfigConstants.CONFIG_CORE_SECTION, ConfigConstants.CONFIG_KEY_BARE, false); if (gitDirExplicit && workDir == null) return true; // if the directory is .git, then we are probably not bare if (getDirectory().getName().equals(Constants.DOT_GIT)) return false; return true; }

Target:
public boolean isBare() { return workDir == null; }
Source:
private String getMemberRelPath(Repository repo, IResource member) { String repoWorkDir = repo.getWorkDir().toString(); if (!"/".equals(File.separator)) { //$NON-NLS-1$ // fix file separator issue on windows repoWorkDir = repoWorkDir.replace(File.separatorChar, '/'); } String memberRelPath = member.getLocation().toString(); memberRelPath = memberRelPath.replace(repoWorkDir, ""); //$NON-NLS-1$ if (memberRelPath.startsWith("/")) { //$NON-NLS-1$ memberRelPath = memberRelPath.substring(1); } return memberRelPath; }

Target:
private String getMemberRelPath(Repository repo, IResource member) { String repoWorkDir = repo.getWorkDir().toString(); if (!"/".equals(File.separator)) { //$NON-NLS-1$ // fix file separator issue on windows repoWorkDir = repoWorkDir.replace(File.separatorChar, '/'); } String memberRelPath = member.getLocation().toString(); memberRelPath = memberRelPath.replace(repoWorkDir, ""); //$NON-NLS-1$ if (memberRelPath.startsWith("/"))//$NON-NLS-1$ memberRelPath = memberRelPath.substring(1); return memberRelPath; }
Source:
FileHeader(final byte[] b, final int offset) { changeType = ChangeType.MODIFY; // unless otherwise designated buf = b; startOffset = offset; patchType = PatchType.UNIFIED; }

Target:
FileHeader(final byte[] b, final int offset) { buf = b; startOffset = offset; changeType = ChangeType.MODIFY; // unless otherwise designated patchType = PatchType.UNIFIED; }
Source:
protected void createButtonsForButtonBar(Composite parent) { // OK button only createButton(parent, IDialogConstants.OK_ID, IDialogConstants.OK_LABEL, true); setTitle(myTitle); }

Target:
protected void createButtonsForButtonBar(Composite parent) { // OK button only createButton(parent, IDialogConstants.OK_ID, IDialogConstants.OK_LABEL, true); }
Source:
public List<Attribute> getAttributes(String entryPath, boolean isDirectory) { if (rules.isEmpty()) return Collections.emptyList(); // Parse rules in the reverse order that they were read for (int i = rules.size() - 1; i > -1; i--) { AttributesRule rule = rules.get(i); if (rule.isMatch(entryPath, isDirectory)) { return rule.getAttributes(); } } return Collections.emptyList(); }

Target:
public List<Attribute> getAttributes(String entryPath, boolean isDirectory) { if (rules.isEmpty()) return Collections.emptyList(); // Parse rules in the reverse order that they were read for (int i = rules.size() - 1; i >= 0; i--) { AttributesRule rule = rules.get(i); if (rule.isMatch(entryPath, isDirectory)) return rule.getAttributes(); } return Collections.emptyList(); }
Source:
public FSAccessNative() { // empty default constructor }

Target:
FSAccessNative() { // empty }
Source:
public void testAddAdd() throws Exception { Note add1 = newNote("add1"); Note add2 = newNote("add2"); Note result = merger.merge(baseNote, add1, add2); assertEquals(result, noteOn); // same note assertEquals(result.getData(), tr.blob("add1add2")); result = merger.merge(baseNote, add2, add1); assertEquals(result, noteOn); // same note assertEquals(result.getData(), tr.blob("add2add1")); }

Target:
public void testAddAdd() throws Exception { Note add1 = newNote("add1"); Note add2 = newNote("add2"); Note result = merger.merge(null, add1, add2); assertEquals(result, noteOn); // same note assertEquals(result.getData(), tr.blob("add1add2")); result = merger.merge(null, add2, add1); assertEquals(result, noteOn); // same note assertEquals(result.getData(), tr.blob("add2add1")); }
Source:
private static void loadIdentity(final JSch sch, final File priv) { if (priv.isFile()) { try { sch.addIdentity(priv.getAbsolutePath()); } catch (final JSchException e) { // Instead, pretend the key doesn't exist. } } }

Target:
private static void loadIdentity(final JSch sch, final File priv) { if (priv.isFile()) { try { sch.addIdentity(priv.getAbsolutePath()); } catch (JSchException e) { // Instead, pretend the key doesn't exist. } } }
Source:
public Image getColumnImage(final Object element, final int columnIndex) { if (columnIndex == 0) { final FileDiff c = (FileDiff) element; switch (c.getChange()) { case ADD: return getDecoratedImage(getEditorImage(c), UIIcons.OVR_STAGED_ADD); case COPY: return COPY; case DELETE: return getDecoratedImage(getEditorImage(c), UIIcons.OVR_STAGED_REMOVE); case RENAME: // fall through case MODIFY: return getEditorImage(c); } } return null; }

Target:
public Image getColumnImage(final Object element, final int columnIndex) { if (columnIndex == 0) { final FileDiff c = (FileDiff) element; switch (c.getChange()) { case ADD: return getDecoratedImage(getEditorImage(c), UIIcons.OVR_STAGED_ADD); case DELETE: return getDecoratedImage(getEditorImage(c), UIIcons.OVR_STAGED_REMOVE); case COPY: // fall through case RENAME: // fall through case MODIFY: return getEditorImage(c); } } return null; }
Source:
public static void closeWelcomePage() { if (welcomePageClosed) return; try { bot.viewByTitle("Welcome").close(); welcomePageClosed = true; } catch (WidgetNotFoundException e) { // somebody else probably closed it, lets not feel bad about it. welcomePageClosed = true; } }

Target:
public static void closeWelcomePage() { if (welcomePageClosed) return; try { bot.viewByTitle("Welcome").close(); } catch (WidgetNotFoundException e) { // somebody else probably closed it, lets not feel bad about it. } finally { welcomePageClosed = true; } }
Source:
protected void makeChangesAndCommit(String projectName) throws Exception { changeFilesInProject(); Thread.sleep(1000); // wait 1 s to get different time stamps // TODO can be removed when commit is based on DirCache commit(projectName); }

Target:
protected void makeChangesAndCommit(String projectName) throws Exception { changeFilesInProject(); commit(projectName); }
Source:
/*package*/List<IResource> getRelevantResources() { List<IResource> resourcesInScope = new ArrayList<IResource>(); ResourceTraversal[] traversals = getScope().getTraversals(); for (ResourceTraversal resourceTraversal : traversals) { resourcesInScope.addAll(Arrays.asList(resourceTraversal .getResources())); } return resourcesInScope; }

Target:
List<IResource> getRelevantResources() { List<IResource> resourcesInScope = new ArrayList<IResource>(); ResourceTraversal[] traversals = getScope().getTraversals(); for (ResourceTraversal resourceTraversal : traversals) resourcesInScope.addAll(Arrays.asList(resourceTraversal .getResources())); return resourcesInScope; }
Source:
public void execute(IProgressMonitor monitor) throws CoreException { Git repoTree; // discover repositories and run clean on them if (paths != null) { for (IResource res : resources) { repoTree = new Git(getRepository(res)); repoTree.clean().setPaths(paths).call(); } } else { for (IResource res : resources) { repoTree = new Git(getRepository(res)); repoTree.clean().call(); } } }

Target:
public void execute(IProgressMonitor monitor) throws CoreException { Git repoTree; // discover repositories and run clean on them if (resources.length > 0) { if (paths != null) { for (IResource res : resources) { repoTree = new Git(getRepository(res)); repoTree.clean().setPaths(paths).call(); } } else { for (IResource res : resources) { repoTree = new Git(getRepository(res)); repoTree.clean().call(); } } } }
Source:
private static String stripLeadingZeros(String input) { for (int i = 0; i < input.length(); i++) { if (input.charAt(i) != '0') { return input.substring(i); } } return ""; //$NON-NLS-1$ }

Target:
private static String stripLeadingZeros(String input) { for (int i = 0; i < input.length(); i++) if (input.charAt(i) != '0') return input.substring(i); return ""; //$NON-NLS-1$ }
Source:
private int findNextEOL(int oldPos, String message) { int pos = message.indexOf("\n", oldPos + 1); //$NON-NLS-1$ if (pos > -1) return pos; return message.indexOf(Text.DELIMITER, oldPos + 1); }

Target:
private int findNextEOL(int oldPos, String message) { return message.indexOf(Text.DELIMITER, oldPos + 1); }
Source:
private void handleException(final URIish uri, Exception e, String userMessage) { if (uri != null) operationResult.addOperationResult(uri, userMessage); String uriString; if (uri == null) uriString = "retrieving URI failed"; //$NON-NLS-1$ else uriString = uri.toString(); String userMessageForUri = NLS.bind( CoreText.PushOperation_ExceptionOccurredDuringPushOnUriMessage, uriString, userMessage); Activator.logError(userMessageForUri, e); }

Target:
private void handleException(final URIish uri, Exception e, String userMessage) { String uriString; if (uri != null) { operationResult.addOperationResult(uri, userMessage); uriString = uri.toString(); } else uriString = "retrieving URI failed"; //$NON-NLS-1$ String userMessageForUri = NLS.bind( CoreText.PushOperation_ExceptionOccurredDuringPushOnUriMessage, uriString, userMessage); Activator.logError(userMessageForUri, e); }
Source:
public void showReflogFor(Repository repository) { String refName = Constants.R_HEADS + Constants.MASTER; try { Ref ref = repository.getRef(Constants.HEAD); if (ref != null && ref.isSymbolic()) refName = ref.getTarget().getName(); } catch (IOException e) { Activator.logError("Error getting HEAD reference", e); //$NON-NLS-1$ } showReflogFor(repository, refName); }

Target:
public void showReflogFor(Repository repository) { showReflogFor(repository, Constants.HEAD); }
Source:
public IRepositoryServerProvider getRepositoryServerProvider() throws CoreException { if (repositoryServerProviderElement == null) return null; Object object = repositoryServerProviderElement .createExecutableExtension("class"); //$NON-NLS-1$ IRepositoryServerProvider provider = null; if (object instanceof IRepositoryServerProvider) { provider = (IRepositoryServerProvider) object; } return provider; }

Target:
public IRepositoryServerProvider getRepositoryServerProvider() throws CoreException { if (repositoryServerProviderElement == null) return null; Object object = repositoryServerProviderElement .createExecutableExtension("class"); //$NON-NLS-1$ IRepositoryServerProvider provider = null; if (object instanceof IRepositoryServerProvider) provider = (IRepositoryServerProvider) object; return provider; }
Source:
public WizardPage getRepositorySearchPage() throws CoreException { if (repositorySearchPageELement == null) return null; Object object = repositorySearchPageELement .createExecutableExtension("class"); //$NON-NLS-1$ WizardPage page = null; if (object instanceof WizardPage && object instanceof IRepositorySearchResult) { page = (WizardPage) object; } return page; }

Target:
public WizardPage getRepositorySearchPage() throws CoreException { if (repositorySearchPageELement == null) return null; Object object = repositorySearchPageELement .createExecutableExtension("class"); //$NON-NLS-1$ WizardPage page = null; if (object instanceof WizardPage && object instanceof IRepositorySearchResult) page = (WizardPage) object; return page; }
Source:
private void removeTagsFromChildrenCacheEntries(TagCacheEntry entry, CVSTag[] tags) { for (int i = 0; i < tags.length; i++) { removeTagFromChildrenCacheEntries(entry, tags[i]); } entry.getTags().removeAll(Arrays.asList(tags)); if (entry.getTags().size() == 0 && entry.children.size() == 0) { // remove this entry when the last tags where removed // keep the entry if there are any children that have tags removeTagCacheEntry(entry); } }

Target:
private void removeTagsFromChildrenCacheEntries(TagCacheEntry entry, CVSTag[] tags) { for (int i = 0; i < tags.length; i++) { removeTagFromChildrenCacheEntries(entry, tags[i]); } entry.getTags().removeAll(Arrays.asList(tags)); if (entry.isEmpty()) { // remove this entry when the last tags where removed // keep the entry if there are any children that have tags removeTagCacheEntry(entry); } }
Source:
private void removeTagCacheEntry(TagCacheEntry entry) { if (entry.parent == null) { // We cannot remove root tag cache entry return; } Map newParentChildren = new HashMap(); newParentChildren.putAll(entry.parent.children); newParentChildren.remove(entry.path.lastSegment()); entry.parent.children = newParentChildren; if (entry.parent.getTags().isEmpty() && entry.children.isEmpty()) { // remove parents if they no longer carry any value removeTagCacheEntry(entry.parent); } }

Target:
private void removeTagCacheEntry(TagCacheEntry entry) { if (entry.parent == null) { // We cannot remove root tag cache entry return; } Map newParentChildren = new HashMap(); newParentChildren.putAll(entry.parent.children); newParentChildren.remove(entry.path.lastSegment()); entry.parent.children = newParentChildren; if (entry.parent.isEmpty()) { // remove parents if they no longer carry any value removeTagCacheEntry(entry.parent); } }
Source:
private void removeTagFromChildrenCacheEntries(TagCacheEntry entry, CVSTag tag) { Iterator childrenIterator = entry.getChildrenIterator(); while (childrenIterator.hasNext()) { TagCacheEntry child = (TagCacheEntry) childrenIterator.next(); removeTagFromChildrenCacheEntries(child, tag); child.getTags().remove(tag); if (child.getTags().size() == 0 && child.children.size() == 0) { // remove this entry when the last tag was removed // keep the entry if there are any children that have tags removeTagCacheEntry(child); } } }

Target:
private void removeTagFromChildrenCacheEntries(TagCacheEntry entry, CVSTag tag) { Iterator childrenIterator = entry.getChildrenIterator(); while (childrenIterator.hasNext()) { TagCacheEntry child = (TagCacheEntry) childrenIterator.next(); removeTagFromChildrenCacheEntries(child, tag); child.getTags().remove(tag); if (child.isEmpty()) { // remove this entry when the last tag was removed // keep the entry if there are any children that have tags removeTagCacheEntry(child); } } }
Source:
private String[] addFilePathToArgs(String actualFilePath, String[] configuredArgs) { int argCount = configuredArgs.length; String[] allArgs = new String[argCount + 1]; // Arrays.copyOf leaves empty cells at the end. We need an empty cell at the beginning of // the array. System.arraycopy(configuredArgs, 0, allArgs, 1, argCount); // We add the path of the file to process as the first argument to pass. allArgs[0] = actualFilePath; return allArgs; }

Target:
private String[] addFilePathToArgs(String actualFilePath, String[] configuredArgs) { int argCount = configuredArgs.length; String[] allArgs = new String[argCount + 1]; allArgs[0] = actualFilePath; // Copy arguments System.arraycopy(configuredArgs, 0, allArgs, 1, argCount); return allArgs; }
Source:
private void readCheckerEnablementVerifier() { IExtensionPoint ep = getExtensionPoint(CHECKER_ENABLEMENT_EXTENSION_POINT_NAME); for (IConfigurationElement ce : ep.getConfigurationElements()) { try { Object o = ce.createExecutableExtension(CLASS_ATTR); checkerEnablementVerifier = (ICheckerEnablementVerifier) o; } catch (CoreException e) { CodanCorePlugin.log(e); } } }

Target:
private void readCheckerEnablementVerifier() { IExtensionPoint ep = getExtensionPoint(CHECKER_ENABLEMENT_EXTENSION_POINT_NAME); for (IConfigurationElement ce : ep.getConfigurationElements()) { try { checkerEnablementVerifier = (ICheckerEnablementVerifier) ce.createExecutableExtension(CLASS_ATTR); } catch (CoreException e) { CodanCorePlugin.log(e); } } }
Source:
public static int getValue(String text) { if (text == null || text.isEmpty() || text.equals("build")) { //$NON-NLS-1$ return BUILD; } if (text.equals("codan")) { //$NON-NLS-1$ return CODAN; } throw new IllegalArgumentException("Unknown context value: " + text); //$NON-NLS-1$ }

Target:
public static int getValue(String text) { if ("build".equals(text)) { //$NON-NLS-1$ return BUILD; } if ("codan".equals(text)) { //$NON-NLS-1$ return CODAN; } throw new IllegalArgumentException("Unknown context value: " + text); //$NON-NLS-1$ }
Source:
public static Test suite() { TestSuite suite = new TestSuite(RegressionTests.class.getName()); // Test that common builder does the correct amount of work. suite.addTestSuite(Bug_303953.class); suite.addTestSuite(Bug_377295.class); return suite; }

Target:
public static Test suite() { TestSuite suite = new TestSuite(RegressionTests.class.getName()); // Test that common builder does the correct amount of work. suite.addTestSuite(Bug_303953.class); return suite; }
Source:
public URI getWorkingDirectoryURI() { if (!fDirectoryStack.isEmpty()) return fDirectoryStack.lastElement(); // Fall back to the Project Location / Build directory return fBaseDirectoryURI; }

Target:
public URI getWorkingDirectoryURI() { if (!fDirectoryStack.isEmpty()) { return fDirectoryStack.lastElement(); } // Fall back to the Project Location / Build directory return fBaseDirectoryURI; }
Source:
public void pushDirectory(IPath dir) { if (dir != null) { URI uri; URI workingDirectoryURI = getWorkingDirectoryURI(); if (!dir.isAbsolute()) uri = URIUtil.append(workingDirectoryURI, dir.toString()); else { uri = toURI(dir); if (uri == null) // Shouldn't happen; error logged return; } pushDirectoryURI(uri); } }

Target:
public void pushDirectory(IPath dir) { if (dir != null) { URI uri; URI workingDirectoryURI = getWorkingDirectoryURI(); if (!dir.isAbsolute()) { uri = URIUtil.append(workingDirectoryURI, dir.toString()); } else { uri = toURI(dir); if (uri == null) { return; } } pushDirectoryURI(uri); } }
Source:
protected IFile findFileInWorkspace(IPath path) { URI uri; if (!path.isAbsolute()) { URI workingDirectoryURI = getWorkingDirectoryURI(); uri = EFSExtensionManager.getDefault().append(workingDirectoryURI, path.toString()); } else { uri = toURI(path); if (uri == null) // Shouldn't happen; error logged return null; } return findFileInWorkspace(uri); }

Target:
protected IFile findFileInWorkspace(IPath path) { URI uri; if (!path.isAbsolute()) { URI workingDirectoryURI = getWorkingDirectoryURI(); uri = EFSExtensionManager.getDefault().append(workingDirectoryURI, path.toString()); } else { uri = toURI(path); if (uri == null) { return null; } } return findFileInWorkspace(uri); }
Source:
private URI toURI(IPath path) { // try { URI baseURI = getWorkingDirectoryURI(); String uriString = path.toString(); // On Windows "C:/folder/" -> "/C:/folder/" if (path.isAbsolute() && uriString.charAt(0) != IPath.SEPARATOR) uriString = IPath.SEPARATOR + uriString; return EFSExtensionManager.getDefault().createNewURIFromPath(baseURI, uriString); }

Target:
private URI toURI(IPath path) { // try { URI baseURI = getWorkingDirectoryURI(); String uriString = path.toString(); // On Windows "C:/folder/" -> "/C:/folder/" if (path.isAbsolute() && uriString.charAt(0) != IPath.SEPARATOR) { uriString = IPath.SEPARATOR + uriString; } return EFSExtensionManager.getDefault().createNewURIFromPath(baseURI, uriString); }
Source:
public static void trace(String option, String message, Throwable throwable) { //copy the message to a new string, then print the new string to the //console in blocks of 100 characters. String systemPrintableMessage = message; while (systemPrintableMessage.length() > 100) { String partial = systemPrintableMessage.substring(0, 100); systemPrintableMessage = systemPrintableMessage.substring(100); System.out.println(partial + "\\"); //$NON-NLS-1$ } //then pass the original message to be traced into a file if(fgDebugTrace != null) { fgDebugTrace.trace(option, message, throwable); } }

Target:
public static void trace(String option, String message, Throwable throwable) { //divide the string into substrings of 100 chars or less for printing //to console String systemPrintableMessage = message; while (systemPrintableMessage.length() > 100) { String partial = systemPrintableMessage.substring(0, 100); systemPrintableMessage = systemPrintableMessage.substring(100); System.out.println(partial + "\\"); //$NON-NLS-1$ } System.out.println(systemPrintableMessage); //then pass the original message to be traced into a file if(fgDebugTrace != null) { fgDebugTrace.trace(option, message, throwable); } }
Source:
public static void trace(String option, String message, Throwable throwable) { //divide the string into substrings of 100 chars or less for printing //to console String systemPrintableMessage = message; while (systemPrintableMessage.length() > 100) { String partial = systemPrintableMessage.substring(0, 100); systemPrintableMessage = systemPrintableMessage.substring(100); System.out.print(partial + "\\"); //$NON-NLS-1$ } System.out.println(systemPrintableMessage); //then pass the original message to be traced into a file if(fgDebugTrace != null) { fgDebugTrace.trace(option, message, throwable); } }

Target:
public static void trace(String option, String message, Throwable throwable) { //divide the string into substrings of 100 chars or less for printing //to console String systemPrintableMessage = message; while (systemPrintableMessage.length() > 100) { String partial = systemPrintableMessage.substring(0, 100); systemPrintableMessage = systemPrintableMessage.substring(100); System.out.println(partial + "\\"); //$NON-NLS-1$ } System.out.print(systemPrintableMessage); //then pass the original message to be traced into a file if(fgDebugTrace != null) { fgDebugTrace.trace(option, message, throwable); } }
Source:
public String getLabel(Object object) { return "" + object; //$NON-NLS-1$ }

Target:
public String getLabel(Object object) { return object.toString(); }
Source:
public String getKey() { return key; }

Target:
String getKey() { return key; }
Source:
long milliTime() { return System.nanoTime() / 1000000; }

Target:
private long milliTime() { return System.nanoTime() / 1000000; }
Source:
void doSubscribe( Map<String, List<SubscribeCommand>> commands, PrintWriter output) throws NotSupportedException, TransportException, InterruptedException, IOException { connection = transport.openSubscribe(subscriber); transport.setTimeout(timeout); try { connection.subscribe(subscriber, commands, output); } finally { closeConnection(); } }

Target:
void doSubscribe( Map<String, List<SubscribeCommand>> commands, PrintWriter output) throws NotSupportedException, TransportException, InterruptedException, IOException { transport.setTimeout(timeout); connection = transport.openSubscribe(subscriber); try { connection.subscribe(subscriber, commands, output); } finally { connection.close(); connection = null; } }
Source:
public void start(BundleContext context) throws Exception { super.start(context); contextStore = new LocalContextStore(commonContextScaling); File storeFile = getDefaultContextLocation().toFile(); if (!storeFile.exists()) { storeFile.mkdirs(); } contextStore.setContextDirectory(storeFile); contextManager = new InteractionContextManager(contextStore); // Because ContextContributor are ContextListener, we need them right away initContextContributor(); }

Target:
public void start(BundleContext context) throws Exception { super.start(context); contextStore = new LocalContextStore(commonContextScaling); File storeFile = getDefaultContextLocation().toFile(); if (!storeFile.exists()) { storeFile.mkdirs(); } contextStore.setContextDirectory(storeFile); contextManager = new InteractionContextManager(contextStore); }
Source:
public DefaultDsfExecutor(String name) { super(1, new DsfThreadFactory(name + " - " + fgInstanceCounter++)); //$NON-NLS-1$ fName = name; if(DsfDebugOptions.DEBUG_EXECUTOR || ASSERTIONS_ENABLED) { // If tracing, pre-start the dispatch thread, and add it to the map. prestartAllCoreThreads(); fThreadToExecutorMap.put(((DsfThreadFactory)getThreadFactory()).fThread, DefaultDsfExecutor.this); } }

Target:
public DefaultDsfExecutor(String name) { super(1, new DsfThreadFactory(name + " - " + fgInstanceCounter++)); //$NON-NLS-1$ fName = name; if(DEBUG_EXECUTOR || ASSERTIONS_ENABLED) { // If tracing, pre-start the dispatch thread, and add it to the map. prestartAllCoreThreads(); fThreadToExecutorMap.put(((DsfThreadFactory)getThreadFactory()).fThread, DefaultDsfExecutor.this); } }
Source:
public void execute(Runnable command) { // Check if executable wasn't executed already. if (DsfDebugOptions.DEBUG && DsfDebugOptions.DEBUG_EXECUTOR && command instanceof DsfExecutable) { assert !((DsfExecutable)command).getSubmitted() : "Executable was previously executed."; //$NON-NLS-1$ ((DsfExecutable)command).setSubmitted(); } command.run(); }

Target:
public void execute(Runnable command) { // Check if executable wasn't executed already. if (DsfDebugOptions.DEBUG_EXECUTOR && command instanceof DsfExecutable) { assert !((DsfExecutable)command).getSubmitted() : "Executable was previously executed."; //$NON-NLS-1$ ((DsfExecutable)command).setSubmitted(); } command.run(); }
Source:
public void registerModelAdapter(Class<?> adapterType, Object adapter) { if (DsfDebugOptions.DEBUG && DsfDebugOptions.DEBUG_SESSION && DsfDebugOptions.DEBUG_SESSION_MODEL_ADAPTERS) { String msg = new Formatter().format( "%s Registering model adapter %s of type %s to session %s (%s)", //$NON-NLS-1$ DsfPlugin.getDebugTime(), LoggingUtils.toString(adapter), adapterType.getName(), LoggingUtils.toString(this), getId() ).toString(); DsfDebugOptions.trace(msg); } fAdapters.put(adapterType, adapter); }

Target:
public void registerModelAdapter(Class<?> adapterType, Object adapter) { if (DsfDebugOptions.DEBUG_SESSION_MODEL_ADAPTERS) { String msg = new Formatter().format( "%s Registering model adapter %s of type %s to session %s (%s)", //$NON-NLS-1$ DsfPlugin.getDebugTime(), LoggingUtils.toString(adapter), adapterType.getName(), LoggingUtils.toString(this), getId() ).toString(); DsfDebugOptions.trace(msg); } fAdapters.put(adapterType, adapter); }
Source:
public void unregisterModelAdapter(Class<?> adapterType) { if (DsfDebugOptions.DEBUG && DsfDebugOptions.DEBUG_SESSION && DsfDebugOptions.DEBUG_SESSION_MODEL_ADAPTERS) { String msg = new Formatter().format( "%s Unregistering model adapter of type %s from session %s (%s)", //$NON-NLS-1$ DsfPlugin.getDebugTime(), adapterType.getName(), LoggingUtils.toString(this), getId() ).toString(); DsfDebugOptions.trace(msg); } fAdapters.remove(adapterType); }

Target:
public void unregisterModelAdapter(Class<?> adapterType) { if (DsfDebugOptions.DEBUG_SESSION_MODEL_ADAPTERS) { String msg = new Formatter().format( "%s Unregistering model adapter of type %s from session %s (%s)", //$NON-NLS-1$ DsfPlugin.getDebugTime(), adapterType.getName(), LoggingUtils.toString(this), getId() ).toString(); DsfDebugOptions.trace(msg); } fAdapters.remove(adapterType); }
Source:
private void initialize() { Assert.isNotNull(scope, "Task scope should not be null."); //$NON-NLS-1$ events.addAll(manager.getEvents(scope)); try { ReviewTaskProvider reviewTaskProvider = new ReviewTaskProvider(); reviewTaskProvider.open(manager); reviewTaskProvider.query(scope, null); } catch (CoreException e) { System.out.println(e); } events.addAll(manager.getEvents(scope)); }

Target:
private void initialize() { events.addAll(manager.getEvents(scope)); }
Source:
public Collection<ActivityEvent> getEvents(ActivityScope scope) { Assert.isNotNull(scope, "Task scope should not be null."); //$NON-NLS-1$ events.addAll(new ReviewTaskProvider().getReviews(((TaskActivityScope) scope).getTask().getTaskId())); return events; }

Target:
public Collection<ActivityEvent> getEvents(ActivityScope scope) { return events; }
Source:
public void dispose() { super.dispose(); if (fStatsViewers != null) { fStatsViewers.dispose(); } // clean the model TmfStatisticsTreeRootFactory.removeAll(); }

Target:
public void dispose() { super.dispose(); fStatsViewers.dispose(); // clean the model TmfStatisticsTreeRootFactory.removeAll(); }
Source:
protected int mergeFileModes(int modeB, int modeO, int modeT) { if (modeO == modeT) return modeO; if (modeB == modeO) // Base equal to Ours -> chooses Theirs if that is not missing return (modeT == FileMode.MISSING.getBits()) ? modeO : modeT; if (modeB == modeT) // Base equal to Theirs -> chooses Ours if that is not missing return (modeO == FileMode.MISSING.getBits()) ? modeT : modeO; return FileMode.MISSING.getBits(); }

Target:
private int mergeFileModes(int modeB, int modeO, int modeT) { if (modeO == modeT) return modeO; if (modeB == modeO) // Base equal to Ours -> chooses Theirs if that is not missing return (modeT == FileMode.MISSING.getBits()) ? modeO : modeT; if (modeB == modeT) // Base equal to Theirs -> chooses Ours if that is not missing return (modeO == FileMode.MISSING.getBits()) ? modeT : modeO; return FileMode.MISSING.getBits(); }
Source:
public boolean isMergedInto(final RevCommit base, final RevCommit tip) throws MissingObjectException, IncorrectObjectTypeException, IOException { initializeShallowCommits(); final RevFilter oldRF = filter; final TreeFilter oldTF = treeFilter; try { finishDelayedFreeFlags(); reset(~freeFlags & APP_FLAGS); filter = RevFilter.MERGE_BASE; treeFilter = TreeFilter.ALL; markStart(tip); markStart(base); return next() == base; } finally { filter = oldRF; treeFilter = oldTF; } }

Target:
public boolean isMergedInto(final RevCommit base, final RevCommit tip) throws MissingObjectException, IncorrectObjectTypeException, IOException { final RevFilter oldRF = filter; final TreeFilter oldTF = treeFilter; try { finishDelayedFreeFlags(); reset(~freeFlags & APP_FLAGS); filter = RevFilter.MERGE_BASE; treeFilter = TreeFilter.ALL; markStart(tip); markStart(base); return next() == base; } finally { filter = oldRF; treeFilter = oldTF; } }
Source:
public RevCommit next() throws MissingObjectException, IncorrectObjectTypeException, IOException { initializeShallowCommits(); return pending.next(); }

Target:
public RevCommit next() throws MissingObjectException, IncorrectObjectTypeException, IOException { return pending.next(); }
Source:
public String[] getProbeVariableCompletions(String probe, String prefix){ TreeNode node = TapsetLibrary.getProbes(); // Get the matching leaf node. node = node.getChildByName(getTapset(probe)); if (node == null ) return NO_MATCHES; node = node.getChildByName(probe); if (node == null ) return NO_MATCHES; // Get the completions. String[] matchingChildren = getMatchingChildren(node, prefix); if(matchingChildren.length == 0) return NO_MATCHES; return matchingChildren; }

Target:
public String[] getProbeVariableCompletions(String probe, String prefix){ TreeNode node = TapsetLibrary.getProbes(); // Get the matching leaf node. node = node.getChildByName(getTapset(probe)); if (node == null ) return NO_MATCHES; node = node.getChildByName(probe); if (node == null ) return NO_MATCHES; // Get the completions. return getMatchingChildren(node, prefix); }
Source:
public void testCustomAttributes() { Collection<String> attributes = fixture.listCustomAttributes(); assertEquals(0, attributes.size()); String attrib = fixture.getCustomAttribute("bozo"); //$NON-NLS-1$ assertNull(attrib); }

Target:
public void testCustomAttributes() { Set<String> attributes = fixture.listCustomAttributes(); assertEquals(0, attributes.size()); String attrib = fixture.getCustomAttribute("bozo"); //$NON-NLS-1$ assertNull(attrib); }
Source:
public void setHidden(File path, boolean hidden) throws IOException { super.setHidden(path, hidden); }

Target:
public void setHidden(File path, boolean hidden) throws IOException { // no action on POSIX }
Source:
public RDTCommandLauncher(IProject project) { fProcess = null; fShowCommand = false; try { if (project.hasNature(SYNC_NATURE)) { IRemoteResource remoteRes = (IRemoteResource)project.getAdapter(IRemoteResource.class); uri = remoteRes.getActiveLocationURI(); } else{ uri = project.getLocationURI(); } lineSeparator = System.getProperty("line.separator", "\n"); //$NON-NLS-1$ //$NON-NLS-2$ } catch (CoreException e) { // TODO Auto-generated catch block e.printStackTrace(); } }

Target:
public RDTCommandLauncher(IProject project) { fProcess = null; fShowCommand = false; try { if (project.hasNature(Messages.SYNC_NATURE)) { IRemoteResource remoteRes = (IRemoteResource)project.getAdapter(IRemoteResource.class); uri = remoteRes.getActiveLocationURI(); } else{ uri = project.getLocationURI(); } lineSeparator = System.getProperty("line.separator", "\n"); //$NON-NLS-1$ //$NON-NLS-2$ } catch (CoreException e) { uri = project.getLocationURI(); } }
Source:
public String printMatchingStats() { String stats = ""; for (int i = 0; i<fTraces.length; i++) { stats += "Trace " + i + ": " + fUnmatched[i].size() + " unmatched events"; //$NON-NLS-1$//$NON-NLS-2$//$NON-NLS-3$ } return stats; }

Target:
public String printMatchingStats() { StringBuilder b = new StringBuilder(); for (int i = 0; i < fTraces.length; i++) { b.append("Trace " + i + ": " + fUnmatched[i].size() + " unmatched events"); } return b.toString(); }
Source:
public CtfTmfEvent getCurrentEvent() { final StreamInputReader top = super.prio.peek(); if (top != null) { return new CtfKernelEvent(top.getCurrentEvent(), top.getFilename(), (CtfKernelTrace) this.getCtfTmfTrace()); } return null; }

Target:
public CtfKernelEvent getCurrentEvent() { final StreamInputReader top = super.prio.peek(); if (top != null) { return new CtfKernelEvent(top.getCurrentEvent(), top.getFilename(), (CtfKernelTrace) this.getCtfTmfTrace()); } return null; }
Source:
public OneCoreTickCounters(Integer[] c) { assert (c != null && c.length >= 7); fUser = c[0]; fNice = c[1]; fSystem = c[2]; fIdle = c[3]; fIowait = c[4]; fIrq = c[5]; fSoftirq = c[6]; }

Target:
public OneCoreTickCounters(Integer[] c) { // sanity checks assert (c != null && c.length >= 7); if (c == null || c.length < 7) return; fUser = c[0]; fNice = c[1]; fSystem = c[2]; fIdle = c[3]; fIowait = c[4]; fIrq = c[5]; fSoftirq = c[6]; }