auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public java.lang.String doProcess ( com.google.gerrit.server.events.ProjectEvent event , com.googlesource.gerrit.plugins.webhooks.RemoteConfig remote ) { return null ; }

Target:
public com.google.common.base.Optional < com.googlesource.gerrit.plugins.webhooks.EventProcessor.Request > doProcess ( com.google.gerrit.server.events.ProjectEvent event , com.googlesource.gerrit.plugins.webhooks.RemoteConfig remote ) { return com.google.common.base.Optional.absent ( ) ; }
Source:
private void grantApproveToChangeOwner ( ) throws java.lang.Exception { grantLabel ( ( ( com.google.gerrit.common.data.Permission.LABEL ) + "Code-Review" ) , ( - 2 ) , 2 , project , "refs/heads/*" , false , SystemGroupBackend.CHANGE_OWNER ) ; }

Target:
private void grantApprove ( com.google.gerrit.reviewdb.client.Project.NameKey project , com.google.gerrit.reviewdb.client.AccountGroup.UUID groupUUID , boolean exclusive ) throws java.lang.Exception { grantLabel ( "Code-Review" , ( - 2 ) , 2 , project , "refs/heads/*" , false , groupUUID , exclusive ) ; }
Source:
public com.google.gerrit.extensions.restapi.BinaryResult apply ( com.google.gerrit.server.account.AccountResource.Capability resource ) { return com.google.gerrit.extensions.restapi.BinaryResult.create ( "ok\n" ) ; }

Target:
public com.google.gerrit.extensions.restapi.BinaryResult apply ( com.google.gerrit.server.account.AccountResource.Capability resource ) throws com.google.gerrit.extensions.restapi.ResourceNotFoundException { permissionBackend.checkUsesDefaultCapabilities ( ) ; return com.google.gerrit.extensions.restapi.BinaryResult.create ( "ok\n" ) ; }
Source:
public void delete ( com.google.gerrit.server.query.change.ChangeData cd ) throws java.io.IOException { }

Target:
public com.google.common.util.concurrent.ListenableFuture < java.lang.Void > delete ( com.google.gerrit.server.query.change.ChangeData cd ) throws java.io.IOException { return com.google.common.util.concurrent.Futures.immediateFuture ( null ) ; }
Source:
public void addReviewerToReviewableChangeInNoteDb ( ) throws java.lang.Exception { com.google.common.truth.TruthJUnit.assume ( ) . that ( notesMigration.readChanges ( ) ) . isTrue ( ) ; forAll ( ( adder ) -> { com.google.gerrit.acceptance.server.mail.StagedChange sc = stageReviewableChange ( ) ; com.google.gerrit.acceptance.TestAccount reviewer = accounts.create ( "added" , "added@example.com" , "added" ) ; addReviewer ( adder , sc.changeId , sc.owner , reviewer.email ) ; assertThat ( sender ) . sent ( "newchange" , sc ) . to ( reviewer ) . cc ( sc.reviewer ) . cc ( sc.reviewerByEmail , sc.ccerByEmail ) . noOneElse ( ) ; } ) ; }

Target:
public void addReviewerToReviewableChangeByOwnerCcingSelfInNoteDbSingly ( ) throws java.lang.Exception { addReviewerToReviewableChangeByOwnerCcingSelfInNoteDb ( singly ( ) ) ; }
Source:
public final java.lang.String max_value ( ) { return com.google.gerrit.common.data.LabelValue.formatValue ( value_set ( ) . last ( ) ) ; }

Target:
public final java.lang.String maxValue ( ) { return com.google.gerrit.common.data.LabelValue.formatValue ( valueSet ( ) . last ( ) ) ; }
Source:
public void onSuccess ( com.google.gerrit.client.rpc.NativeString user ) { com.google.gerrit.client.Gerrit.getUserAccount ( ) . username ( user.asString ( ) ) ; refreshHttpPassword ( ) ; }

Target:
public void onFailure ( final java.lang.Throwable caught ) { enableUI ( true ) ; }
Source:
public java.lang.String getText ( ) { java.lang.String s = nameTxtBox.getText ( ) ; if ( ( s == null ) || ( s.equals ( Util.C.defaultAccountName ( ) ) ) ) { s = "" ; } return s ; }

Target:
public void setText ( java.lang.String text ) { nameTxtBox.setText ( text ) ; }
Source:
public void subsetOfBranchesVisibleNotIncludingHead ( ) throws java.lang.Exception { deny ( Permission.READ , com.google.gerrit.server.group.SystemGroupBackend.REGISTERED_USERS , "refs/heads/master" ) ; allow ( Permission.READ , com.google.gerrit.server.group.SystemGroupBackend.REGISTERED_USERS , "refs/heads/branch" ) ; assertRefs ( "refs/changes/02/2/1" , "refs/changes/02/2/meta" , "refs/heads/branch" ) ; }

Target:
public void subsetOfBranchesVisibleNotIncludingHead ( ) throws java.lang.Exception { deny ( Permission.READ , com.google.gerrit.server.group.SystemGroupBackend.REGISTERED_USERS , "refs/heads/master" ) ; allow ( Permission.READ , com.google.gerrit.server.group.SystemGroupBackend.REGISTERED_USERS , "refs/heads/branch" ) ; assertRefs ( "refs/changes/02/2/1" , "refs/changes/02/2/meta" , "refs/heads/branch" , "refs/tags/branch-tag" , "refs/tags/master-tag" ) ; }
Source:
private void setupNavigationLink ( com.google.gerrit.client.ui.Hyperlink link , int skip ) { link.setTargetHistoryToken ( getTokenForScreen ( skip ) ) ; link.setVisible ( true ) ; }

Target:
private void setupNavigationLink ( com.google.gerrit.client.ui.Hyperlink link , java.lang.String filter , int skip ) { link.setTargetHistoryToken ( getTokenForScreen ( filter , skip ) ) ; link.setVisible ( true ) ; }
Source:
ApprovalCategory.Id getCategoryId ( ) { return type.getCategory ( ) . getId ( ) ; }

Target:
java.lang.String getLabelName ( ) { return type.getCategory ( ) . getLabelName ( ) ; }
Source:
public synchronized com.google.gerrit.server.account.AccountState get ( com.google.gerrit.reviewdb.client.Account.Id accountId ) { com.google.gerrit.server.account.AccountState state = byId.get ( accountId ) ; if ( state != null ) { return state ; } return com.google.gerrit.testutil.FakeAccountCache.newState ( new com.google.gerrit.reviewdb.client.Account ( accountId , com.google.gerrit.common.TimeUtil.nowTs ( ) ) ) ; }

Target:
public synchronized com.google.gerrit.server.account.AccountState get ( com.google.gerrit.reviewdb.client.Account.Id accountId ) { com.google.gerrit.server.account.AccountState state = byId.get ( accountId ) ; if ( state != null ) { return state ; } return com.google.gerrit.testing.FakeAccountCache.newState ( new com.google.gerrit.reviewdb.client.Account ( accountId , com.google.gerrit.common.TimeUtil.nowTs ( ) ) ) ; }
Source:
void set ( com.google.gerrit.reviewdb.client.Change.Id changeId ) { this . changeId = changeId ; reviewerSuggestOracle.setChange ( changeId ) ; }

Target:
void init ( com.google.gerrit.client.change.ChangeScreen2.Style style , com.google.gwt.dom.client.Element reviewersText ) { this . style = style ; this . reviewersText = reviewersText ; }
Source:
public boolean dryRun ( final com.google.gerrit.server.git.CodeReviewCommit mergeTip , final com.google.gerrit.server.git.CodeReviewCommit toMerge ) throws com.google.gerrit.server.git.MergeException { return com.google.gerrit.server.git.MergeUtil.canCherryPick ( args.mergeSorter , args.repo , args.useContentMerge , mergeTip , args.rw , toMerge ) ; }

Target:
public boolean dryRun ( final com.google.gerrit.server.git.CodeReviewCommit mergeTip , final com.google.gerrit.server.git.CodeReviewCommit toMerge ) throws com.google.gerrit.server.git.MergeException { return args.mergeUtil.canCherryPick ( args.mergeSorter , args.repo , mergeTip , args.rw , toMerge ) ; }
Source:
void destroy ( final net.sf.ehcache.Element cacheEntry ) { self.remove ( cacheEntry.getKey ( ) ) ; }

Target:
void destroy ( final com.google.gerrit.server.http.WebSessionManager.Key key ) { self.remove ( key ) ; }
Source:
private boolean can ( com.google.gerrit.server.permissions.GlobalOrPluginPermission perm ) throws com.google.gerrit.server.permissions.PermissionBackendException { return user.getCapabilities ( ) . doCanForDefaultPermissionBackend ( perm ) ; }

Target:
private boolean can ( com.google.gerrit.extensions.api.access.GlobalOrPluginPermission perm ) throws com.google.gerrit.server.permissions.PermissionBackendException { return user.getCapabilities ( ) . doCanForDefaultPermissionBackend ( perm ) ; }
Source:
public void run ( ) { if ( com.google.gerrit.client.Gerrit.isSignedIn ( ) ) { reviewed.setValue ( true , true ) ; } navigate ( Direction.NEXT ) . run ( ) ; }

Target:
java.lang.Runnable reviewedAndNext ( ) { return ( ) -> { if ( com.google.gerrit.client.Gerrit.isSignedIn ( ) ) { reviewed.setValue ( true , true ) ; } navigate ( Direction.NEXT ) . run ( ) ; } ; }
Source:
public void evict ( final com.google.gerrit.reviewdb.Account.Id accountId ) { byId.remove ( accountId ) ; }

Target:
public com.google.common.util.concurrent.ListenableFuture < java.lang.Void > evictEmailAsync ( java.lang.String email ) { if ( email == null ) { return com.google.common.util.concurrent.Futures.immediateFuture ( null ) ; } return byEmail.removeAsync ( new com.google.gerrit.server.account.AccountCacheImpl.Email ( email ) ) ; }
Source:
private static boolean isEmptyPath ( java.lang.String path ) { return ( path.isEmpty ( ) ) || ( path.equals ( "/" ) ) ; }

Target:
private static boolean isEmptyOrSlash ( java.lang.String path ) { return ( path.isEmpty ( ) ) || ( path.equals ( "/" ) ) ; }
Source:
private void fireEventForUnrestrictedListeners ( final com.google.gerrit.server.events.Event event ) { for ( com.google.gerrit.common.ChangeListener listener : unrestrictedListeners ) { listener.onEvent ( event ) ; } }

Target:
private void fireEventForUnrestrictedListeners ( final com.google.gerrit.server.events.Event event ) { for ( com.google.gerrit.common.EventListener listener : unrestrictedListeners ) { listener.onEvent ( event ) ; } }
Source:
public final int hashCode ( ) { return java.util.Objects.hash ( readChanges ( ) , rawWriteChangesSetting ( ) , readChangeSequence ( ) , changePrimaryStorage ( ) , disableChangeReviewDb ( ) , fuseUpdates ( ) , failOnLoad ( ) ) ; }

Target:
public final int hashCode ( ) { return snapshot.get ( ) . hashCode ( ) ; }
Source:
private void fail ( com.google.gerrit.reviewdb.client.Change change , java.lang.Throwable t ) { ok.set ( false ) ; failed.update ( 1 ) ; }

Target:
private void fail ( com.google.gerrit.reviewdb.client.Project.NameKey project , java.lang.Throwable t ) { com.google.gerrit.pgm.Reindex.log.error ( ( "Failed to index project " + project ) , t ) ; ok.set ( false ) ; }
Source:
protected void configure ( ) { propertyFactory = createMock ( Property.Factory.class ) ; bind ( Property.Factory.class ) . toInstance ( propertyFactory ) ; }

Target:
protected void configure ( ) { facade = createMock ( com.googlesource.gerrit.plugins.its.base.its.ItsFacade.class ) ; bind ( com.googlesource.gerrit.plugins.its.base.its.ItsFacade.class ) . toInstance ( facade ) ; propertyFactory = createMock ( Property.Factory.class ) ; bind ( Property.Factory.class ) . toInstance ( propertyFactory ) ; }
Source:
protected void configure ( ) { install ( new com.google.gerrit.server.rules.PrologModule.EnvironmentModule ( ) ) ; bind ( PrologEnvironment.Args.class ) ; }

Target:
protected void configure ( ) { install ( new com.google.gerrit.server.rules.PrologModule.EnvironmentModule ( ) ) ; bind ( PrologEnvironment.Args.class ) ; bind ( com.google.gerrit.server.rules.PrologRule.class ) ; factory ( PrologRuleEvaluator.Factory.class ) ; }
Source:
public com.google.gerrit.server.git.ChangeReportFormatter.Input setSubject ( java.lang.String subject ) { this . subject = subject ; return this ; }

Target:
public abstract com.google.gerrit.server.git.ChangeReportFormatter.Input.Builder setIsWorkInProgress ( java.lang.Boolean val ) ;
Source:
public java.lang.String toString ( ) { return ( "AccessSection[" + ( getName ( ) ) ) + "]" ; }

Target:
private java.lang.String comparePattern ( ) { if ( getName ( ) . startsWith ( com.google.gerrit.common.data.REGEX_PREFIX ) ) { return getName ( ) . substring ( com.google.gerrit.common.data.REGEX_PREFIX.length ( ) ) ; } return getName ( ) ; }
Source:
public com.google.gerrit.server.mail.receive.MailMessage.Builder addCc ( java.lang.String val ) { ccBuilder ( ) . add ( val ) ; return this ; }

Target:
public com.google.gerrit.server.mail.receive.MailMessage.Builder addCc ( com.google.gerrit.server.mail.Address val ) { ccBuilder ( ) . add ( val ) ; return this ; }
Source:
public void resetToDefaults ( ) { defaultContext = com.google.gerrit.client.reviewdb.AccountGeneralPreferences.DEFAULT_CONTEXT ; showSiteHeader = true ; }

Target:
public void resetToDefaults ( ) { defaultContext = com.google.gerrit.client.reviewdb.AccountGeneralPreferences.DEFAULT_CONTEXT ; showSiteHeader = true ; useFlashClipboard = true ; }
Source:
protected void onInitUI ( ) { super . onInitUI ( ) ; setHeaderVisible ( false ) ; }

Target:
protected void onInitUI ( ) { super . onInitUI ( ) ; setHeaderVisible ( false ) ; setWindowTitle ( com.google.gerrit.client.diff.FileInfo.getFileName ( path ) ) ; }
Source:
public void onKeyPress ( com.google.gwt.event.dom.client.KeyPressEvent event ) { toggleReviewed ( ) . run ( ) ; }

Target:
public void run ( ) { cm.getInputField ( ) . blur ( ) ; clearActiveLine ( cm ) ; clearActiveLine ( otherCm ( cm ) ) ; }
Source:
public com.google.gerrit.server.CurrentUser getUser ( ) { return getControl ( ) . getUser ( ) ; }

Target:
public Project.NameKey getNameKey ( ) { return projectState.getNameKey ( ) ; }
Source:
public final native boolean hasActiveLine ( ) ;

Target:
static net.codemirror.lib.CodeMirror.Style style ( ) { return Lib.I.style ( ) ; }
Source:
public void run ( ) { }

Target:
public void run ( ) { header.setReviewed ( ( ! ( header.isReviewed ( ) ) ) ) ; }
Source:
public void deleteBranch ( final com.google.gerrit.reviewdb.client.Project.NameKey projectName , final java.util.Set < com.google.gerrit.reviewdb.client.Branch.NameKey > toRemove , final com.google.gwt.user.client.rpc.AsyncCallback < java.util.Set < com.google.gerrit.reviewdb.client.Branch.NameKey > > callback ) { deleteBranchesFactory.create ( projectName , toRemove ) . to ( callback ) ; }

Target:
public void deleteBranch ( final com.google.gerrit.reviewdb.client.Project.NameKey projectName , final java.util.Set < com.google.gerrit.reviewdb.client.Branch.NameKey > toRemove , final com.google.gwtjsonrpc.common.AsyncCallback < java.util.Set < com.google.gerrit.reviewdb.client.Branch.NameKey > > callback ) { deleteBranchesFactory.create ( projectName , toRemove ) . to ( callback ) ; }
Source:
protected java.lang.String decode ( int s , int e ) { if ( ( charset ) == null ) { charset = com.google.gerrit.server.patch.Text.charset ( content , null ) ; } return org.eclipse.jgit.util.RawParseUtils.decode ( charset , content , s , e ) ; }

Target:
protected java.lang.String decode ( int s , int e ) { if ( ( charset ) == null ) { charset = com.google.gerrit.server.diff.Text.charset ( content , null ) ; } return org.eclipse.jgit.util.RawParseUtils.decode ( charset , content , s , e ) ; }
Source:
public java.lang.String process ( ) { return com.googlesource.gerrit.plugins.webhooks.processors.GerritEventProcessor.GSON.toJson ( event ) ; }

Target:
public java.util.Optional < com.googlesource.gerrit.plugins.webhooks.EventProcessor.Request > doProcess ( com.google.gerrit.server.events.ProjectEvent event , com.googlesource.gerrit.plugins.webhooks.RemoteConfig remote ) { return java.util.Optional.of ( new com.googlesource.gerrit.plugins.webhooks.EventProcessor.Request ( com.googlesource.gerrit.plugins.webhooks.processors.GerritEventProcessor.GSON.toJson ( event ) ) ) ; }
Source:
java.lang.String weeksAgo ( long weeks ) ;

Target:
java.lang.String patchTableSize_ModifyBinaryFilesWithPercentages ( java.lang.String bytesInserted , java.lang.String percentageInserted , java.lang.String bytesDeleted , java.lang.String percentageDeleted ) ;
Source:
public void onSuccess ( com.google.gerrit.client.info.AccountPreferencesInfo result ) { display ( result ) ; }

Target:
public void onSuccess ( com.google.gerrit.client.info.GeneralPreferences result ) { display ( result ) ; }
Source:
void deleteBranch ( java.util.Set < com.google.gerrit.client.reviewdb.Branch.NameKey > ids , com.google.gwt.user.client.rpc.AsyncCallback < java.util.Set < com.google.gerrit.client.reviewdb.Branch.NameKey > > callback ) ;

Target:
void deleteBranch ( com.google.gerrit.client.reviewdb.Project.NameKey projectName , java.util.Set < com.google.gerrit.client.reviewdb.Branch.NameKey > ids , com.google.gwt.user.client.rpc.AsyncCallback < java.util.Set < com.google.gerrit.client.reviewdb.Branch.NameKey > > callback ) ;
Source:
public com.google.gerrit.extensions.api.changes.ChangeApi create ( com.google.gerrit.extensions.common.ChangeInput in ) throws com.google.gerrit.extensions.restapi.RestApiException { com.google.gerrit.extensions.api.changes.d47190 Revert ; }

Target:
public com.google.gerrit.extensions.api.changes.ChangeApi create ( com.google.gerrit.extensions.common.ChangeInput in ) throws com.google.gerrit.extensions.restapi.RestApiException { throw new com.google.gerrit.extensions.restapi.NotImplementedException ( ) ; }
Source:
public void parseFullTimestamp ( ) { org.junit.Assert.assertEquals ( "2006-01-02 10:04:05.999 -0500" , reformat ( "2006-01-02 15:04:05.999000000" ) ) ; }

Target:
public void parseFullTimestamp ( ) { org.junit.Assert.assertEquals ( "2006-01-02 15:04:05.789 -0500" , reformat ( "2006-01-02 20:04:05.789000000" ) ) ; org.junit.Assert.assertEquals ( "2006-01-02 15:04:05.000 -0500" , reformat ( "2006-01-02 20:04:05" ) ) ; }
Source:
public com.google.gerrit.acceptance.RangeSubject range ( ) { return com.google.gerrit.acceptance.RangeSubject.assertThat ( actual ( ) . range ) . named ( "range" ) ; }

Target:
public com.google.gerrit.extensions.client.RangeSubject range ( ) { return com.google.gerrit.extensions.client.RangeSubject.assertThat ( actual ( ) . range ) . named ( "range" ) ; }
Source:
public void onSuccess ( com.google.gerrit.client.changes.CommentInfo result ) { enableEdit ( true ) ; set ( result ) ; setEdit ( false ) ; if ( autoClosed ) { setOpen ( false ) ; } getCommentManager ( ) . setUnsaved ( this , false ) ; }

Target:
public void onSuccess ( com.google.gerrit.client.changes.CommentInfo result ) { enableEdit ( true ) ; pendingGroup = null ; set ( result ) ; setEdit ( false ) ; if ( autoClosed ) { setOpen ( false ) ; } getCommentManager ( ) . setUnsaved ( this , false ) ; }
Source:
com.google.gerrit.server.notedb.ChangeUpdate create ( com.google.gerrit.reviewdb.client.Change change ) ;

Target:
com.google.gerrit.server.notedb.ChangeUpdate create ( com.google.gerrit.server.project.ChangeControl ctl ) ;
Source:
public void configure ( ) { }

Target:
public void configure ( ) { install ( new com.google.inject.assistedinject.FactoryModuleBuilder ( ) . build ( com.google.gerrit.server.git.AsyncReceiveCommits.Factory.class ) ) ; expose ( com.google.gerrit.server.git.AsyncReceiveCommits.Factory.class ) ; install ( new com.google.inject.assistedinject.FactoryModuleBuilder ( ) . build ( ReceiveCommits.Factory.class ) ) ; }
Source:
public java.lang.String replace ( final java.util.Map < java.lang.String , java.lang.String > params ) { final java.lang.StringBuilder r = new java.lang.StringBuilder ( ) ; for ( final com.google.gerrit.server.ParamertizedString.Format f : patternOps ) { f.format ( r , params ) ; } return r.toString ( ) ; }

Target:
public java.lang.String replace ( final java.util.Map < java.lang.String , java.lang.String > params ) { final java.lang.StringBuilder r = new java.lang.StringBuilder ( ) ; for ( final com.google.gerrit.common.data.ParamertizedString.Format f : patternOps ) { f.format ( r , params ) ; } return r.toString ( ) ; }
Source:
public void onClick ( com.google.gwt.user.client.ui.Widget sender ) { goChange ( ) ; }

Target:
public void onSuccess ( final com.google.gwtjsonrpc.client.VoidResult result ) { goChange ( ) ; }
Source:
protected void updateOwnerGroup ( com.google.gerrit.client.groups.GroupInfo ownerGroup ) { group.setOwnerUUID ( ownerGroup.getGroupUUID ( ) ) ; group.owner ( ownerGroup.name ( ) ) ; }

Target:
protected void updateOwnerGroup ( com.google.gerrit.client.info.GroupInfo ownerGroup ) { group.setOwnerUUID ( ownerGroup.getGroupUUID ( ) ) ; group.owner ( ownerGroup.name ( ) ) ; }
Source:
public void putApproval ( java.lang.String label , short value ) { approvals.put ( label , value ) ; }

Target:
public void putApprovalFor ( com.google.gerrit.reviewdb.client.Account.Id reviewer , java.lang.String label , short value ) { approvals.put ( label , reviewer , com.google.common.base.Optional.of ( value ) ) ; }
Source:
protected void configure ( ) { cache ( com.googlesource.gerrit.plugins.github.group.GitHubGroupsCache.ORGS_CACHE_NAME , java.lang.String.class , com.googlesource.gerrit.plugins.github.group.GitHubGroupsCache.OrganizationStructure.class ) . expireAfterWrite ( com.googlesource.gerrit.plugins.github.group.GitHubGroupsCache.GROUPS_CACHE_TTL_MINS , java.util.concurrent.TimeUnit.MINUTES ) . loader ( com.googlesource.gerrit.plugins.github.group.GitHubGroupsCache.OrganisationLoader.class ) ; bind ( com.googlesource.gerrit.plugins.github.group.GitHubGroupsCache.class ) ; }

Target:
protected void configure ( ) { persist ( com.googlesource.gerrit.plugins.github.group.GitHubGroupsCache.ORGS_CACHE_NAME , java.lang.String.class , com.googlesource.gerrit.plugins.github.groups.OrganizationStructure.class ) . expireAfterWrite ( com.googlesource.gerrit.plugins.github.group.GitHubGroupsCache.GROUPS_CACHE_TTL_MINS , java.util.concurrent.TimeUnit.MINUTES ) . loader ( com.googlesource.gerrit.plugins.github.group.GitHubGroupsCache.OrganisationLoader.class ) ; bind ( com.googlesource.gerrit.plugins.github.group.GitHubGroupsCache.class ) ; }
Source:
public com.google.gerrit.reviewdb.client.PatchSetApproval.LabelId getLabelId ( ) { return new com.google.gerrit.reviewdb.client.PatchSetApproval.LabelId ( getId ( ) ) ; }

Target:
public boolean canOverride ( ) { return canOverride ; }
Source:
public void onReplace ( org.eclipse.jgit.lib.ObjectId newNotesRev , com.google.gerrit.reviewdb.client.Account.Id accountId , java.util.Collection < com.google.gerrit.server.account.externalids.ExternalId > toRemove , java.util.Collection < com.google.gerrit.server.account.externalids.ExternalId > toAdd ) { }

Target:
public void onReplaceByKeys ( org.eclipse.jgit.lib.ObjectId oldNotesRev , org.eclipse.jgit.lib.ObjectId newNotesRev , com.google.gerrit.reviewdb.client.Account.Id accountId , java.util.Collection < com.google.gerrit.server.account.externalids.ExternalId.Key > toRemove , java.util.Collection < com.google.gerrit.server.account.externalids.ExternalId > toAdd ) { }
Source:
public void upsertComment ( com.google.gerrit.reviewdb.client.PatchLineComment c ) { verifyComment ( c ) ; com.google.common.base.Preconditions.checkArgument ( ( ( c.getStatus ( ) ) == ( com.google.gerrit.reviewdb.client.PatchLineComment.Status.DRAFT ) ) , "Cannot upsert a published comment into a ChangeDraftUpdate" ) ; upsertComments.add ( c ) ; }

Target:
public void upsertComment ( com.google.gerrit.reviewdb.client.PatchLineComment c ) { verifyComment ( c ) ; com.google.common.base.Preconditions.checkArgument ( ( ( c.getStatus ( ) ) == ( PatchLineComment.Status.DRAFT ) ) , "Cannot upsert a published comment into a ChangeDraftUpdate" ) ; upsertComments.add ( c ) ; }
Source:
public void setText ( java.lang.String text ) { focusHint ( ) ; super . setText ( text ) ; blurHint ( ) ; }

Target:
public void setText ( java.lang.String text ) { focusHint ( ) ; super . setText ( text ) ; if ( ! ( isFocused ) ) { blurHint ( ) ; } }
Source:
public void testUpsertNothing ( ) throws com.google.gwtorm.client.OrmException , java.sql.SQLException { createClassUnderTest ( ) . upsert ( com.google.gwtorm.jdbc.TestJdbcAccess.NO_DATA ) ; }

Target:
public void testUpsertNothing ( ) throws com.google.gwtorm.server.OrmException , java.sql.SQLException { createClassUnderTest ( ) . upsert ( noData ) ; }
Source:
public java.lang.String getDisplayString ( ) { if ( branch.ref ( ) . startsWith ( Branch.R_HEADS ) ) { return branch.ref ( ) . substring ( Branch.R_HEADS.length ( ) ) ; } return branch.ref ( ) ; }

Target:
public java.lang.String getDisplayString ( ) { return branch.getShortName ( ) ; }
Source:
public ApprovalCategory.Id getCategoryId ( ) { return categoryId ; }

Target:
public com.google.gerrit.reviewdb.client.PatchSetApproval.LabelId getLabelId ( ) { return categoryId ; }
Source:
public org.eclipse.jgit.lib.RefUpdate.Result modifyFile ( com.google.gerrit.server.edit.ChangeEdit edit , java.lang.String file , com.google.gerrit.extensions.restapi.RawInput content ) throws com.google.gerrit.extensions.restapi.AuthException , com.google.gerrit.server.project.InvalidChangeOperationException , java.io.IOException { return modify ( edit , new com.google.gerrit.server.edit.tree.ChangeFileContentModification ( file , content ) ) ; }

Target:
public void modifyFile ( org.eclipse.jgit.lib.Repository repository , com.google.gerrit.server.edit.ChangeEdit changeEdit , java.lang.String filePath , com.google.gerrit.extensions.restapi.RawInput newContent ) throws com.google.gerrit.extensions.restapi.AuthException , com.google.gerrit.server.project.InvalidChangeOperationException , java.io.IOException { modifyTree ( repository , changeEdit , new com.google.gerrit.server.edit.tree.ChangeFileContentModification ( filePath , newContent ) ) ; }
Source:
public int compare ( final com.google.gerrit.client.data.ApprovalDetail o1 , final com.google.gerrit.client.data.ApprovalDetail o2 ) { return o2.sortOrder.compareTo ( o1.sortOrder ) ; }

Target:
public int compare ( final com.google.gerrit.client.data.ApprovalDetail o1 , final com.google.gerrit.client.data.ApprovalDetail o2 ) { int cmp ; cmp = ( o2.hasNonZero ) - ( o1.hasNonZero ) ; if ( cmp != 0 ) return cmp ; return o1.sortOrder.compareTo ( o2.sortOrder ) ; }
Source:
abstract java.lang.Runnable openCloseAll ( final net.codemirror.lib.CodeMirror cm ) ;

Target:
java.lang.Runnable signInCallback ( final net.codemirror.lib.CodeMirror cm ) { return new java.lang.Runnable ( ) { @ java.lang.Override public void run ( ) { java.lang.String token = host.getToken ( ) ; if ( cm.extras ( ) . hasActiveLine ( ) ) { token += "@" + ( getTokenSuffixForActiveLine ( cm ) ) ; } com.google.gerrit.client.Gerrit.doSignIn ( token ) ; } } ; }
Source:
private void assertNoProblems ( com.google.gerrit.server.git.gpg.TestKey key ) throws java.lang.Exception { com.google.common.truth.Truth.assertThat ( checker.check ( key.getPublicKey ( ) ) . getProblems ( ) ) . isEmpty ( ) ; }

Target:
private void assertNoProblems ( com.google.gerrit.gpg.testutil.TestKey key ) throws java.lang.Exception { com.google.common.truth.Truth.assertThat ( checker.check ( key.getPublicKey ( ) ) . getProblems ( ) ) . isEmpty ( ) ; }
Source:
public static final native java.lang.String escapeString ( java.lang.String val ) ;

Target:
public static final java.lang.String escapeString ( java.lang.String val ) { return com.google.gwt.core.client.JsonUtils.escapeValue ( val ) ; }
Source:
protected boolean writeChanges ( ) { return writeChanges ; }

Target:
public boolean rawWriteChangesSetting ( ) { return writeChanges ; }
Source:
public boolean verify ( ) { return ( com.googlesource.gerrit.plugins.lfs.LfsAuthToken.Verifier.onTime ( token.expiresAt ) ) && ( verifyTokenValues ( ) ) ; }

Target:
public boolean verify ( ) { return ( onTime ( java.time.Instant.now ( ) ) ) && ( verifyTokenValues ( ) ) ; }
Source:
public void onFailure ( final java.lang.Throwable caught ) { showSiteHeader.setChecked ( ( ! val ) ) ; super . onFailure ( caught ) ; }

Target:
public void onFailure ( final java.lang.Throwable caught ) { showSiteHeader.setValue ( ( ! val ) ) ; super . onFailure ( caught ) ; }
Source:
public static com.google.gerrit.server.index.IndexConfig createDefault ( ) { return com.google.gerrit.server.index.IndexConfig.builder ( ) . build ( ) ; }

Target:
public static com.google.gerrit.index.IndexConfig createDefault ( ) { return com.google.gerrit.index.IndexConfig.builder ( ) . build ( ) ; }
Source:
public void removeCacheUsageListener ( net.sf.ehcache.statistics.CacheUsageListener cacheUsageListener ) throws java.lang.IllegalStateException { self.removeCacheUsageListener ( cacheUsageListener ) ; }

Target:
public void registerCacheUsageListener ( net.sf.ehcache.statistics.CacheUsageListener cacheUsageListener ) throws java.lang.IllegalStateException { self ( ) . registerCacheUsageListener ( cacheUsageListener ) ; }
Source:
public void run ( ) { header.prev.go ( ) ; }

Target:
public void run ( ) { ( header.hasPrev ( ) ? header.prev : header.up ) . go ( ) ; }
Source:
public void onKeyPress ( com.google.gwt.event.dom.client.KeyPressEvent event ) { com.google.gerrit.client.Gerrit.display ( url ( list.get ( index ) ) ) ; }

Target:
public void onKeyPress ( com.google.gwt.event.dom.client.KeyPressEvent event ) { com.google.gerrit.client.info.FileInfo info = list.get ( index ) ; if ( canOpen ( info.path ( ) ) ) { com.google.gerrit.client.Gerrit.display ( url ( info ) ) ; } }
Source:
private void assertProblems ( org.eclipse.jgit.transport.PushCertificate cert , java.lang.String ... expected ) throws java.lang.Exception { com.google.gerrit.server.git.gpg.CheckResult result = checker.check ( cert ) ; org.junit.Assert.assertEquals ( java.util.Arrays.asList ( expected ) , result.getProblems ( ) ) ; }

Target:
private void assertProblems ( org.eclipse.jgit.transport.PushCertificate cert , java.lang.String ... expected ) throws java.lang.Exception { com.google.gerrit.gpg.CheckResult result = checker.check ( cert ) ; org.junit.Assert.assertEquals ( java.util.Arrays.asList ( expected ) , result.getProblems ( ) ) ; }
Source:
public com.google.gerrit.extensions.restapi.Response < java.lang.String > apply ( com.google.gerrit.server.change.ChangeResource rsrc , com.google.gerrit.server.change.Unignore.Input input ) throws com.google.gerrit.extensions.restapi.RestApiException , com.google.gwtorm.server.OrmException { if ( canUnignore ( rsrc ) ) { stars.unignore ( rsrc ) ; } return com.google.gerrit.extensions.restapi.Response.ok ( "" ) ; }

Target:
public com.google.gerrit.extensions.restapi.Response < java.lang.String > apply ( com.google.gerrit.server.change.ChangeResource rsrc , com.google.gerrit.server.change.Unignore.Input input ) throws com.google.gerrit.extensions.restapi.RestApiException , com.google.gwtorm.server.OrmException { if ( isIgnored ( rsrc ) ) { stars.unignore ( rsrc ) ; } return com.google.gerrit.extensions.restapi.Response.ok ( "" ) ; }
Source:
public org.eclipse.jgit.lib.RefUpdate.Result restoreFile ( com.google.gerrit.server.edit.ChangeEdit edit , java.lang.String file ) throws com.google.gerrit.extensions.restapi.AuthException , com.google.gerrit.server.project.InvalidChangeOperationException , java.io.IOException { return modify ( com.google.gerrit.server.edit.ChangeEditModifier.TreeOperation.RESTORE_ENTRY , edit , file , null , null ) ; }

Target:
public org.eclipse.jgit.lib.RefUpdate.Result deleteFile ( com.google.gerrit.server.edit.ChangeEdit edit , java.lang.String file ) throws com.google.gerrit.extensions.restapi.AuthException , com.google.gerrit.server.project.InvalidChangeOperationException , java.io.IOException { return modify ( edit , new com.google.gerrit.server.edit.tree.DeleteFileModification ( file ) ) ; }
Source:
public void save ( java.lang.String message ) throws java.io.IOException , org.eclipse.jgit.errors.ConfigInvalidException { save ( new org.eclipse.jgit.lib.PersonIdent ( "Gerrit Initialization" , "init@gerrit" ) , message ) ; }

Target:
public void save ( java.lang.String message ) throws java.io.IOException , org.eclipse.jgit.errors.ConfigInvalidException { save ( new com.google.gerrit.server.GerritPersonIdentProvider ( flags.cfg ) . get ( ) , message ) ; }
Source:
protected static java.lang.String getGroupName ( com.google.gerrit.reviewdb.client.AccountGroup.UUID uuid ) { return java.lang.String.format ( "Group <%s>" , uuid ) ; }

Target:
public AccountGroup.UUID getGroupUUID ( ) { return uuid ; }
Source:
public void onSuccess ( final com.google.gerrit.client.reviewdb.PatchLineComment result ) { comment = result ; text.setReadOnly ( false ) ; discard.setEnabled ( true ) ; updateSavedAt ( ) ; }

Target:
public void onSuccess ( final com.google.gerrit.client.reviewdb.PatchLineComment result ) { comment = result ; text.setReadOnly ( false ) ; cancel.setEnabled ( true ) ; discard.setEnabled ( true ) ; render ( ) ; }
Source:
public boolean isTokenValid ( final java.lang.String inputToken ) { return ( ( isSignedIn ( ) ) && ( ( val.getXsrfToken ( ) ) != null ) ) && ( val.getXsrfToken ( ) . equals ( inputToken ) ) ; }

Target:
public java.lang.String getAccessToken ( ) { return isSignedIn ( ) ? key.getToken ( ) : null ; }
Source:
java.io.File path ( final java.lang.String title , final java.lang.String name , final java.lang.String defValue ) { return resolve ( string ( title , name , defValue ) ) ; }

Target:
private com.google.gerrit.pgm.Init.SiteRun createSiteRun ( final com.google.gerrit.pgm.Init.SiteInit init ) { return createSysInjector ( init ) . getInstance ( com.google.gerrit.pgm.Init.SiteRun.class ) ; }
Source:
public void submit ( java.lang.Iterable < com.google.gerrit.common.data.SubmitRecord > submitRecords ) { status = Change.Status.SUBMITTED ; this . submitRecords = com.google.common.collect.ImmutableList.copyOf ( submitRecords ) ; com.google.common.base.Preconditions.checkArgument ( ( ! ( this . submitRecords.isEmpty ( ) ) ) , "no submit records specified at submit time" ) ; }

Target:
public void submit ( java.lang.Iterable < com.google.gerrit.common.data.SubmitRecord > submitRecords ) { status = com.google.gerrit.reviewdb.client.PatchLineComment.Status.SUBMITTED ; this . submitRecords = com.google.common.collect.ImmutableList.copyOf ( submitRecords ) ; com.google.common.base.Preconditions.checkArgument ( ( ! ( this . submitRecords.isEmpty ( ) ) ) , "no submit records specified at submit time" ) ; }
Source:
public void oldNameOfGroupMustBeSpecifiedForRename ( ) throws java.lang.Exception { createGroup ( groupUuid , groupName ) ; com.google.gerrit.reviewdb.client.AccountGroup.NameKey anotherName = new com.google.gerrit.reviewdb.client.AccountGroup.NameKey ( "admins" ) ; expectedException.expect ( java.lang.NullPointerException.class ) ; com.google.gerrit.server.group.db.GroupNameNotes.loadForRename ( repo , groupUuid , null , anotherName ) ; }

Target:
public void oldNameOfGroupMustBeSpecifiedForRename ( ) throws java.lang.Exception { createGroup ( groupUuid , groupName ) ; com.google.gerrit.reviewdb.client.AccountGroup.NameKey anotherName = new com.google.gerrit.reviewdb.client.AccountGroup.NameKey ( "admins" ) ; expectedException.expect ( java.lang.NullPointerException.class ) ; com.google.gerrit.server.group.db.GroupNameNotes.forRename ( repo , groupUuid , null , anotherName ) ; }
Source:
public void start ( ) { com.google.gerrit.sshd.commands.ShowCaches.serverStarted = java.lang.System.currentTimeMillis ( ) ; }

Target:
public void start ( ) { com.google.gerrit.sshd.commands.ShowCaches.serverStarted = com.google.gerrit.server.util.TimeUtil.nowMs ( ) ; }
Source:
public com.google.gwtorm.server.ResultSet < com.google.gerrit.reviewdb.client.PatchLineComment > iterateAllEntities ( ) { throw new java.lang.UnsupportedOperationException ( com.google.gerrit.server.schema.DisabledChangesReviewDbWrapper.MSG ) ; }

Target:
public com.google.gwtorm.server.ResultSet < com.google.gerrit.reviewdb.client.PatchLineComment > iterateAllEntities ( ) { throw new java.lang.UnsupportedOperationException ( com.google.gerrit.reviewdb.server.DisabledChangesReviewDbWrapper.MSG ) ; }
Source:
protected com.google.gitiles.DefaultAccess newAccess ( java.io.File basePath , java.lang.String canonicalBasePath , java.lang.String baseGitUrl , org.eclipse.jgit.transport.resolver.FileResolver < javax.servlet.http.HttpServletRequest > resolver , javax.servlet.http.HttpServletRequest req ) { return new com.google.gitiles.DefaultAccess ( basePath , canonicalBasePath , baseGitUrl , resolver , req ) ; }

Target:
protected com.google.gitiles.DefaultAccess newAccess ( java.io.File basePath , java.lang.String canonicalBasePath , java.lang.String baseGitUrl , org.eclipse.jgit.transport.resolver.FileResolver < javax.servlet.http.HttpServletRequest > resolver , javax.servlet.http.HttpServletRequest req ) { return new com.google.gitiles.DefaultAccess ( basePath , canonicalBasePath , baseGitUrl , baseConfig , resolver , req ) ; }
Source:
public void onClick ( android.view.View v ) { display ( com.google.reviewit.UnifiedDiffFragment.class ) ; }

Target:
private void init ( ) { tv ( R.id.commitMessage ) . setLinksClickable ( true ) ; }
Source:
public boolean supportsTeamMembershipChanges ( ) { return false ; }

Target:
public boolean supportsCredentialChanges ( com.gitblit.models.UserModel user ) { return false ; }
Source:
public final void reviewCategoryStrategy ( com.google.gerrit.reviewdb.client.AccountGeneralPreferences.ReviewCategoryStrategy s ) { reviewCategoryStrategyRaw ( ( s != null ? s.toString ( ) : null ) ) ; }

Target:
public final void reviewCategoryStrategy ( com.google.gerrit.extensions.client.GeneralPreferencesInfo.ReviewCategoryStrategy s ) { reviewCategoryStrategyRaw ( ( s != null ? s.toString ( ) : null ) ) ; }
Source:
private synchronized void runHook ( java.io.File hook , java.util.List < java.lang.String > args ) { if ( hook.exists ( ) ) { hookQueue.execute ( new com.google.gerrit.common.ChangeHookRunner.AsyncHookTask ( null , hook , args ) ) ; } }

Target:
private synchronized void runHook ( com.google.common.base.Optional < java.nio.file.Path > hook , java.util.List < java.lang.String > args ) { if ( hook.isPresent ( ) ) { hookQueue.execute ( new com.google.gerrit.common.ChangeHookRunner.AsyncHookTask ( null , hook.get ( ) , args ) ) ; } }
Source:
public void evict ( java.lang.String username ) { cache.remove ( username ) ; }

Target:
public com.google.gerrit.sshd.SshKeyCacheEntryCollection get ( java.lang.String username ) { return cache.get ( new com.google.gerrit.reviewdb.Account.Username ( username ) ) ; }
Source:
public void postUpdate ( com.google.gerrit.server.git.BatchUpdate.Context ctx ) { if ( ( change ) != null ) { topicEdited.fire ( change , ctx.getUser ( ) . asIdentifiedUser ( ) . getAccount ( ) , oldTopicName ) ; } }

Target:
public void postUpdate ( com.google.gerrit.server.git.BatchUpdate.Context ctx ) { if ( ( change ) != null ) { topicEdited.fire ( change , ctx.getUser ( ) . asIdentifiedUser ( ) . getAccount ( ) , oldTopicName , ctx.getWhen ( ) ) ; } }
Source:
public java.util.regex.Pattern getIssuePattern ( ) { java.util.regex.Pattern ret = null ; java.lang.String match = gerritConfig.getString ( "commentLink" , pluginName , "match" ) ; if ( match != null ) { ret = java.util.regex.Pattern.compile ( match ) ; } return ret ; }

Target:
public java.util.regex.Pattern getIssuePattern ( ) { java.util.regex.Pattern ret = null ; java.lang.String match = gerritConfig.getString ( "commentlink" , pluginName , "match" ) ; if ( match != null ) { ret = java.util.regex.Pattern.compile ( match ) ; } return ret ; }
Source:
static void adviseThreadCount ( final int callerWants ) { final com.google.gerrit.git.WorkQueue.Executor p = com.google.gerrit.git.WorkQueue.getPool ( true ) ; p.setMaximumPoolSize ( ( 1 + callerWants ) ) ; p.setCorePoolSize ( ( 1 + callerWants ) ) ; }

Target:
public static com.google.gerrit.git.WorkQueue.Executor createQueue ( final int poolsize ) { final com.google.gerrit.git.WorkQueue.Executor r = new com.google.gerrit.git.WorkQueue.Executor ( poolsize ) ; r.setContinueExistingPeriodicTasksAfterShutdownPolicy ( false ) ; r.setExecuteExistingDelayedTasksAfterShutdownPolicy ( false ) ; com.google.gerrit.git.WorkQueue.queues.add ( r ) ; return r ; }
Source:
public void listTagsOfNonExistingProject ( ) throws java.lang.Exception { adminSession.get ( "/projects/non-existing/tags" ) . assertNotFound ( ) ; }

Target:
public void listTagsOfNonExistingProject ( ) throws java.lang.Exception { adminRestSession.get ( "/projects/non-existing/tags" ) . assertNotFound ( ) ; }
Source:
private static void assertNotRef ( java.lang.String refName ) { org.junit.Assert.assertNull ( Change.Id.fromRef ( refName ) ) ; }

Target:
private static void assertNotRef ( java.lang.String refName ) { com.google.common.truth.Truth.assertThat ( Change.Id.fromRef ( refName ) ) . isNull ( ) ; }
Source:
public void defaultSubmitTypeWhenNotConfigured ( ) { com.google.common.truth.Truth.assertThat ( repoCfg.getDefaultSubmitType ( new com.google.gerrit.reviewdb.client.Project.NameKey ( "someProject" ) ) ) . isEqualTo ( SubmitType.MERGE_IF_NECESSARY ) ; }

Target:
public void defaultSubmitTypeWhenNotConfigured ( ) { com.google.common.truth.Truth.assertThat ( repoCfg.getDefaultSubmitType ( new com.google.gerrit.reviewdb.client.Project.NameKey ( "someProject" ) ) ) . isEqualTo ( SubmitType.INHERIT ) ; }
Source:
public java.lang.Object apply ( com.google.gerrit.server.account.AccountResource rsrc ) throws com.google.gerrit.extensions.restapi.ResourceNotFoundException { if ( rsrc.getUser ( ) . getAccount ( ) . isActive ( ) ) { return com.google.gerrit.extensions.restapi.Response.ok ( "" ) ; } throw new com.google.gerrit.extensions.restapi.ResourceNotFoundException ( ) ; }

Target:
public java.lang.Object apply ( com.google.gerrit.server.account.AccountResource rsrc ) { if ( rsrc.getUser ( ) . getAccount ( ) . isActive ( ) ) { return com.google.gerrit.extensions.restapi.BinaryResult.create ( "ok\n" ) ; } return com.google.gerrit.extensions.restapi.Response.none ( ) ; }
Source:
public com.google.gerrit.common.data.ApprovalType getApprovalType ( final com.google.gerrit.reviewdb.ApprovalCategory.Id id ) { return byCategory ( ) . get ( id ) ; }

Target:
public com.google.gerrit.common.data.ApprovalType byId ( final com.google.gerrit.reviewdb.ApprovalCategory.Id id ) { return byCategory ( ) . get ( id ) ; }
Source:
public com.google.gerrit.reviewdb.client.Change abandon ( com.google.gerrit.server.project.ChangeControl control ) throws com.google.gerrit.extensions.restapi.RestApiException , com.google.gerrit.server.update.UpdateException { return abandon ( control , "" , NotifyHandling.ALL , com.google.common.collect.ImmutableListMultimap.of ( ) ) ; }

Target:
public com.google.gerrit.reviewdb.client.Change abandon ( com.google.gerrit.server.update.BatchUpdate.Factory updateFactory , com.google.gerrit.server.project.ChangeControl control ) throws com.google.gerrit.extensions.restapi.RestApiException , com.google.gerrit.server.update.UpdateException { return abandon ( updateFactory , control , "" , NotifyHandling.ALL , com.google.common.collect.ImmutableListMultimap.of ( ) ) ; }
Source:
public static void comments ( com.google.gerrit.reviewdb.client.PatchSet.Id id , com.google.gwt.user.client.rpc.AsyncCallback < com.google.gerrit.client.rpc.NativeMap < com.google.gwt.core.client.JsArray < com.google.gerrit.client.changes.CommentInfo > > > cb ) { com.google.gerrit.client.changes.ChangeApi.revision ( id ) . view ( "comments" ) . get ( cb ) ; }

Target:
private static com.google.gerrit.client.rpc.RestApi revision ( com.google.gerrit.reviewdb.client.PatchSet.Id id , java.lang.String type ) { return com.google.gerrit.client.changes.ChangeApi.revision ( id ) . view ( type ) ; }
Source:
public com.googlecode.prolog_cafe.builtin.Operation exec ( com.googlecode.prolog_cafe.builtin.Prolog engine ) { com.googlecode.prolog_cafe.builtin.Term a1 ; a1 = arg1 ; if ( ! ( a1.unify ( new com.googlecode.prolog_cafe.builtin.IntegerTerm ( engine.B0 ) , engine.trail ) ) ) { return engine.fail ( ) ; } return cont ; }

Target:
public com.googlecode.prolog_cafe.lang.Operation exec ( com.googlecode.prolog_cafe.lang.Prolog engine ) { com.googlecode.prolog_cafe.lang.Term a1 ; a1 = arg1 ; if ( ! ( a1.unify ( new com.googlecode.prolog_cafe.lang.IntegerTerm ( engine.B0 ) , engine.trail ) ) ) { return engine.fail ( ) ; } return cont ; }
Source:
com.googlesource.gerrit.plugins.replication.Destination create ( com.googlesource.gerrit.plugins.replication.DestinationConfiguration config ) { return new com.googlesource.gerrit.plugins.replication.Destination ( injector , config , replicationUserFactory , pluginUser , gitRepositoryManager , groupBackend , stateLog , groupIncludeCache ) ; }

Target:
com.googlesource.gerrit.plugins.replication.Destination create ( com.googlesource.gerrit.plugins.replication.DestinationConfiguration config ) { return new com.googlesource.gerrit.plugins.replication.Destination ( injector , config , replicationUserFactory , pluginUser , gitRepositoryManager , groupBackend , stateLog , groupIncludeCache , eventDispatcher ) ; }
Source:
public Account.Id getAccountId ( ) { final com.google.gerrit.server.GerritCall c = com.google.gerrit.server.GerritJsonServlet.getCurrentCall ( ) ; return c != null ? c.getAccountId ( ) : null ; }

Target:
public Account.Id getAccountId ( ) { final com.google.gerrit.server.GerritCall c = com.google.gwtjsonrpc.server.JsonServlet.getCurrentCall ( ) ; return c != null ? c.getAccountId ( ) : null ; }
Source:
public void setUp ( ) { com.google.gerrit.testutil.TestTimeUtil.resetWithClockStep ( 10 , java.util.concurrent.TimeUnit.SECONDS ) ; changeCreatedOn = com.google.gerrit.common.TimeUtil.nowTs ( ) ; }

Target:
public void setUp ( ) { com.google.gerrit.testing.TestTimeUtil.resetWithClockStep ( 10 , java.util.concurrent.TimeUnit.SECONDS ) ; changeCreatedOn = com.google.gerrit.common.TimeUtil.nowTs ( ) ; }
Source:
public void error ( com.google.gerrit.server.git.ValidationError error ) { com.google.gerrit.server.account.VersionedAccountQueries.log.error ( ( ( ( "Error parsing file " + ( com.google.gerrit.server.git.QueryList.FILE_NAME ) ) + ": " ) + ( error.getMessage ( ) ) ) ) ; }

Target:
protected void onLoad ( ) throws java.io.IOException , org.eclipse.jgit.errors.ConfigInvalidException { queryList = com.google.gerrit.server.git.QueryList.parse ( readUTF8 ( QueryList.FILE_NAME ) , com.google.gerrit.server.git.QueryList.createLoggerSink ( QueryList.FILE_NAME , com.google.gerrit.server.account.VersionedAccountQueries.log ) ) ; }
Source:
final native void setTitle ( java.lang.String t ) ;

Target:
native void setWindowTitle ( java.lang.String t ) ;
Source:
private org.eclipse.jgit.revwalk.RevCommit writeCommit ( java.lang.String body ) throws java.lang.Exception { return writeCommit ( body , noteUtil.newIdent ( changeOwner.getAccount ( ) , com.google.gerrit.common.TimeUtil.nowTs ( ) , serverIdent , "Anonymous Coward" ) ) ; }

Target:
private org.eclipse.jgit.revwalk.RevCommit writeCommit ( java.lang.String body ) throws java.lang.Exception { com.google.gerrit.server.notedb.ChangeNoteUtil noteUtil = injector.getInstance ( com.google.gerrit.server.notedb.ChangeNoteUtil.class ) ; return writeCommit ( body , noteUtil.newIdent ( changeOwner.getAccount ( ) , com.google.gerrit.common.TimeUtil.nowTs ( ) , serverIdent , "Anonymous Coward" ) ) ; }
Source:
private void renderPluginLinks ( java.util.List < com.google.gerrit.client.DiffWebLinkInfo > links ) { if ( links != null ) { for ( com.google.gerrit.client.DiffWebLinkInfo webLink : links ) { linkPanel.add ( webLink.toAnchor ( ) ) ; } } }

Target:
private void renderLinks ( java.util.List < com.google.gerrit.client.DiffWebLinkInfo > links ) { if ( links != null ) { for ( com.google.gerrit.client.DiffWebLinkInfo webLink : links ) { linkPanel.add ( webLink.toAnchor ( ) ) ; } } }
Source:
public com.google.gerrit.extensions.restapi.Response < com.google.gerrit.extensions.common.ChangeInfo > apply ( com.google.gerrit.server.change.ChangeResource rsrc ) throws com.google.gwtorm.server.OrmException { return com.google.gerrit.extensions.restapi.Response.withMustRevalidate ( json.format ( rsrc ) ) ; }

Target:
public com.google.gerrit.extensions.restapi.Response < com.google.gerrit.extensions.common.ChangeInfo > apply ( com.google.gerrit.server.change.ChangeResource rsrc ) throws com.google.gwtorm.server.OrmException { return com.google.gerrit.extensions.restapi.Response.withMustRevalidate ( json.create ( options ) . format ( rsrc ) ) ; }
Source:
private static org.apache.lucene.search.Query fullTextQuery ( com.google.gerrit.server.index.IndexPredicate < com.google.gerrit.server.query.change.ChangeData > p ) { return new org.apache.lucene.search.FuzzyQuery ( new org.apache.lucene.index.Term ( p.getField ( ) . getName ( ) , p.getValue ( ) ) ) ; }

Target:
private org.apache.lucene.search.Query fullTextQuery ( com.google.gerrit.server.index.IndexPredicate < com.google.gerrit.server.query.change.ChangeData > p ) { return queryBuilder.createPhraseQuery ( p.getField ( ) . getName ( ) , p.getValue ( ) ) ; }
Source:
public com.google.gwtorm.server.ResultSet < com.google.gerrit.reviewdb.client.Change > iterateAllEntities ( ) { throw new java.lang.UnsupportedOperationException ( com.google.gerrit.server.schema.DisabledChangesReviewDbWrapper.MSG ) ; }

Target:
public com.google.gwtorm.server.ResultSet < com.google.gerrit.reviewdb.client.Change > iterateAllEntities ( ) { throw new java.lang.UnsupportedOperationException ( com.google.gerrit.reviewdb.server.DisabledChangesReviewDbWrapper.MSG ) ; }