auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
java.nio.file.Path getSharedDirectory ( com.ericsson.gerrit.plugins.highavailability.Configuration cfg ) throws java.io.IOException { java.nio.file.Path sharedDirectoryPath = java.nio.file.Paths.get ( cfg.main ( ) . sharedDirectory ( ) ) ; java.nio.file.Files.createDirectories ( sharedDirectoryPath ) ; return sharedDirectoryPath ; }

Target:
java.nio.file.Path getSharedDirectory ( ) throws java.io.IOException { java.nio.file.Path sharedDirectoryPath = java.nio.file.Paths.get ( config.main ( ) . sharedDirectory ( ) ) ; java.nio.file.Files.createDirectories ( sharedDirectoryPath ) ; return sharedDirectoryPath ; }
Source:
com.ericsson.gerrit.plugins.highavailability.forwarder.rest.HttpResponseHandler.HttpResult delete ( java.lang.String endpoint ) throws java.io.IOException { return httpClient.execute ( new org.apache.http.client.methods.HttpDelete ( ( ( peerInfo.getDirectUrl ( ) ) + endpoint ) ) , new com.ericsson.gerrit.plugins.highavailability.forwarder.rest.HttpResponseHandler ( ) ) ; }

Target:
com.ericsson.gerrit.plugins.highavailability.forwarder.rest.HttpResponseHandler.HttpResult delete ( java.lang.String endpoint ) throws java.io.IOException { return httpClient.execute ( new org.apache.http.client.methods.HttpDelete ( ( ( peerInfo.get ( ) . getDirectUrl ( ) ) + endpoint ) ) , new com.ericsson.gerrit.plugins.highavailability.forwarder.rest.HttpResponseHandler ( ) ) ; }
Source:
public com.google.gerrit.server.group.PutMembers.PutMember create ( final com.google.gerrit.server.group.GroupResource parent , final java.lang.String id ) throws com.google.gerrit.extensions.restapi.RestApiException { return new com.google.gerrit.server.group.PutMembers.PutMember ( put , com.google.gerrit.server.util.Url.decode ( id ) ) ; }

Target:
public com.google.gerrit.server.group.PutMembers.PutMember create ( final com.google.gerrit.server.group.GroupResource group , final java.lang.String id ) { return new com.google.gerrit.server.group.PutMembers.PutMember ( put , com.google.gerrit.server.util.Url.decode ( id ) ) ; }
Source:
public void onLoad ( ) { super . onLoad ( ) ; Util.GROUP_SVC.groupDetail ( groupId , new com.google.gerrit.client.rpc.ScreenLoadCallback < com.google.gerrit.client.admin.AccountGroupDetail > ( this ) { @ java.lang.Override protected void preDisplay ( final com.google.gerrit.client.admin.AccountGroupDetail result ) { display ( result ) ; } } ) ; }

Target:
protected void onLoad ( ) { super . onLoad ( ) ; Util.GROUP_SVC.groupDetail ( groupId , new com.google.gerrit.client.rpc.ScreenLoadCallback < com.google.gerrit.client.admin.AccountGroupDetail > ( this ) { @ java.lang.Override protected void preDisplay ( final com.google.gerrit.client.admin.AccountGroupDetail result ) { display ( result ) ; } } ) ; }
Source:
com.google.gerrit.server.index.SiteIndexer.Result indexAll ( I index ) ;

Target:
public abstract com.google.gerrit.server.index.SiteIndexer.Result indexAll ( I index ) ;
Source:
public com.google.gerrit.server.permissions.PermissionBackend.ForChange change ( com.google.gerrit.server.query.change.ChangeData cd ) { try { return cd.changeControl ( ) . forUser ( getUser ( ) ) . asForChange ( cd ) ; } catch ( com.google.gwtorm.server.OrmException e ) { return com.google.gerrit.server.permissions.FailedPermissionBackend.change ( "unavailable" , e ) ; } }

Target:
public com.google.gerrit.server.permissions.PermissionBackend.ForChange change ( com.google.gerrit.server.query.change.ChangeData cd ) { try { return cd.changeControl ( ) . forUser ( getUser ( ) ) . asForChange ( cd , db ) ; } catch ( com.google.gwtorm.server.OrmException e ) { return com.google.gerrit.server.permissions.FailedPermissionBackend.change ( "unavailable" , e ) ; } }
Source:
, @ com.google.gerrit.acceptance.GerritConfig ( name = "suggest.fullTextSearchMaxMatches" , value = "2" ) } ) public void suggestReviewersFullTextSearchLimitMaxMatches ( ) throws java.lang.Exception { java.lang.String changeId = createChange ( ) . getChangeId ( ) ; java.util.List < com.google.gerrit.extensions.common.SuggestedReviewerInfo > reviewers = suggestReviewers ( changeId , "user" , 3 ) ; com.google.common.truth.Truth.assertThat ( reviewers ) . hasSize ( 3 ) ; }

Target:
, @ com.google.gerrit.acceptance.GerritConfig ( name = "suggest.fullTextSearchMaxMatches" , value = "2" ) } ) public void suggestReviewersFullTextSearchLimitMaxMatches ( ) throws java.lang.Exception { java.lang.String changeId = createChange ( ) . getChangeId ( ) ; java.util.List < com.google.gerrit.extensions.common.SuggestedReviewerInfo > reviewers = suggestReviewers ( changeId , name ( "user" ) , 2 ) ; com.google.common.truth.Truth.assertThat ( reviewers ) . hasSize ( 2 ) ; }
Source:
public com.google.gerrit.common.data.GroupList get ( ) { return createGroupList ( filterGroups ( groupCache.all ( ) ) ) ; }

Target:
public java.util.List < com.google.gerrit.reviewdb.client.AccountGroup > get ( ) { return filterGroups ( groupCache.all ( ) ) ; }
Source:
private boolean isHttpEnabled ( ) { return ( ( downloadConfig.getDownloadSchemes ( ) . contains ( DownloadScheme.DEFAULT_DOWNLOADS ) ) || ( downloadConfig.getDownloadSchemes ( ) . contains ( DownloadScheme.ANON_HTTP ) ) ) || ( downloadConfig.getDownloadSchemes ( ) . contains ( DownloadScheme.HTTP ) ) ; }

Target:
private boolean isHttpEnabled ( ) { return ( downloadConfig.getDownloadSchemes ( ) . contains ( DownloadScheme.ANON_HTTP ) ) || ( downloadConfig.getDownloadSchemes ( ) . contains ( DownloadScheme.HTTP ) ) ; }
Source:
private final native void setPath ( java.lang.String path ) ;

Target:
public final native void setPath ( java.lang.String path ) ;
Source:
public com.google.gerrit.server.IdentifiedUser create ( com.google.gerrit.reviewdb.client.Account.Id id ) { return new com.google.gerrit.server.IdentifiedUser ( capabilityControlFactory , authConfig , anonymousCowardName , canonicalUrl , realm , accountCache , groupBackend , remotePeerProvider , dbProvider , id ) ; }

Target:
public com.google.gerrit.server.IdentifiedUser create ( com.google.gerrit.reviewdb.client.Account.Id id ) { return new com.google.gerrit.server.IdentifiedUser ( capabilityControlFactory , authConfig , anonymousCowardName , canonicalUrl , realm , accountCache , groupBackend , remotePeerProvider , dbProvider , id , null ) ; }
Source:
public void run ( ) { com.google.gerrit.pgm.Daemon.log.info ( "caught shutdown, cleaning up" ) ; if ( ( runId ) != null ) { runFile.delete ( ) ; } manager.stop ( ) ; }

Target:
public void run ( ) { com.google.gerrit.pgm.Daemon.log.info ( "caught shutdown, cleaning up" ) ; stop ( ) ; }
Source:
public final com.google.gerrit.server.index.SiteIndexer < K , V , I > getSiteIndexer ( ) { return siteIndexer ; }

Target:
public final com.google.gerrit.server.index.SiteIndexer < K , V , I > getSiteIndexer ( ) { return siteIndexer.get ( ) ; }
Source:
public void testHostIndex ( ) throws java.lang.Exception { assertRedirectsTo ( com.google.gitiles.GitilesView.hostIndex ( ) . setHostName ( com.google.gitiles.TestGitilesUrls.HOST_NAME ) . setServletPath ( com.google.gitiles.FakeHttpServletRequest.SERVLET_PATH ) . toUrl ( ) , com.google.gitiles.GitwebRedirectFilterTest.newRequest ( "a=project_index" ) ) ; }

Target:
public void hostIndex ( ) throws java.lang.Exception { assertRedirectsTo ( com.google.gitiles.GitilesView.hostIndex ( ) . setHostName ( com.google.gitiles.TestGitilesUrls.HOST_NAME ) . setServletPath ( com.google.gitiles.FakeHttpServletRequest.SERVLET_PATH ) . toUrl ( ) , com.google.gitiles.GitwebRedirectFilterTest.newRequest ( "a=project_index" ) ) ; }
Source:
public void setRevision ( final java.lang.String pattern ) { if ( ( pattern != null ) && ( ! ( pattern.isEmpty ( ) ) ) ) { revision = pattern ; } }

Target:
public void setRevision ( final java.lang.String pattern ) { revision = pattern ; }
Source:
public void addQuery ( java.lang.String query ) { if ( ( queries ) == null ) { queries = com.google.common.collect.Lists.newArrayList ( ) ; } queries.add ( query ) ; }

Target:
public void addQuery ( java.lang.String query ) { if ( ( queries ) == null ) { queries = new java.util.ArrayList < > ( ) ; } queries.add ( query ) ; }
Source:
private static boolean isUiPlugin ( java.lang.String name ) { return ( com.google.gerrit.server.plugins.PluginLoader.isPlugin ( name , "js" ) ) || ( com.google.gerrit.server.plugins.PluginLoader.isPlugin ( name , "html" ) ) ; }

Target:
private boolean isUiPlugin ( java.lang.String name ) { return ( isPlugin ( name , "js" ) ) || ( isPlugin ( name , "html" ) ) ; }
Source:
public com.google.gerrit.extensions.common.WebLinkInfo apply ( com.google.gerrit.extensions.webui.WebLink webLink ) { return ( ( com.google.gerrit.extensions.webui.PatchSetWebLink ) ( webLink ) ) . getPathSetWebLink ( project , commit ) ; }

Target:
public com.google.gerrit.extensions.common.WebLinkInfo apply ( com.google.gerrit.extensions.webui.WebLink webLink ) { return ( ( com.google.gerrit.extensions.webui.PatchSetWebLink ) ( webLink ) ) . getPathSetWebLink ( project.get ( ) , commit ) ; }
Source:
public void remove ( ) { try { filter.destroy ( ) ; } finally { plugins.remove ( name , filter ) ; } }

Target:
public void remove ( ) { filter.destroy ( ) ; }
Source:
public boolean apply ( com.google.gerrit.server.git.ReceiveCommits.CreateRequest input ) { return input.created ; }

Target:
public boolean apply ( com.google.gerrit.server.git.ReceiveCommits.CreateRequest input ) { return ( input.change ) != null ; }
Source:
public static void doSignIn ( final com.google.gwt.user.client.rpc.AsyncCallback < ? > callback ) { new com.google.gerrit.client.SignInDialog ( callback ) . center ( ) ; }

Target:
public static void doSignIn ( ) { new com.google.gerrit.client.SignInDialog ( ) . center ( ) ; }
Source:
public com.google.gerrit.gpg.GerritPublicKeyChecker create ( ) { return new com.google.gerrit.gpg.GerritPublicKeyChecker ( this , null ) ; }

Target:
public com.google.gerrit.gpg.GerritPublicKeyChecker create ( ) { return new com.google.gerrit.gpg.GerritPublicKeyChecker ( this ) ; }
Source:
public static com.google.gerrit.server.index.IndexConfig createDefault ( ) { return com.google.gerrit.server.index.IndexConfig.create ( 0 , 0 , com.google.gerrit.server.index.IndexConfig.DEFAULT_MAX_TERMS , com.google.gerrit.server.index.IndexConfig.DEFAULT_MAX_PREFIX_TERMS ) ; }

Target:
public static com.google.gerrit.server.index.IndexConfig createDefault ( ) { return com.google.gerrit.server.index.IndexConfig.create ( 0 , 0 , com.google.gerrit.server.index.IndexConfig.DEFAULT_MAX_TERMS ) ; }
Source:
public void stop ( ) { refreshThread.halt ( ) ; openIndex.close ( ) ; closedIndex.close ( ) ; }

Target:
public void run ( ) { closedIndex.close ( ) ; }
Source:
public static < T > com.google.gerrit.rules.StoredValue < T > create ( ) { return new com.google.gerrit.rules.StoredValue < T > ( new com.googlecode.prolog_cafe.lang.JavaObjectTerm ( new java.lang.Object ( ) ) ) ; }

Target:
public static < T > com.google.gerrit.rules.StoredValue < T > create ( ) { return new com.google.gerrit.rules.StoredValue < T > ( ) ; }
Source:
public void hide ( final boolean autoClosed ) { com.google.gwtexpui.user.client.UserAgent.fireDialogVisible ( false ) ; super . hide ( autoClosed ) ; }

Target:
public void hide ( final boolean autoClosed ) { com.google.gwtexpui.user.client.UserAgent.fireDialogVisible ( this , false ) ; super . hide ( autoClosed ) ; }
Source:
public static void deleteAssignee ( int id , com.google.gwt.user.client.rpc.AsyncCallback < com.google.gerrit.client.info.AccountInfo > cb ) { com.google.gerrit.client.changes.ChangeApi.change ( id ) . view ( "assignee" ) . delete ( cb ) ; }

Target:
public static void deleteAssignee ( @ com.google.gerrit.common.Nullable java.lang.String project , int id , com.google.gwt.user.client.rpc.AsyncCallback < com.google.gerrit.client.info.AccountInfo > cb ) { com.google.gerrit.client.changes.ChangeApi.change ( project , id ) . view ( "assignee" ) . delete ( cb ) ; }
Source:
public void remove ( com.google.gerrit.extensions.auth.oauth.OAuthUserInfo user ) { if ( user != null ) { cache.invalidate ( user.getUserName ( ) ) ; } }

Target:
public void remove ( com.google.gerrit.reviewdb.client.Account.Id id ) { cache.invalidate ( id ) ; }
Source:
public com.google.gerrit.reviewdb.Change update ( com.google.gerrit.reviewdb.Change change ) { if ( change.getStatus ( ) . isOpen ( ) ) { change.nextPatchSetId ( ) ; change.setLastSha1MergeTested ( null ) ; return change ; } else { return null ; } }

Target:
public com.google.gerrit.reviewdb.client.Change update ( com.google.gerrit.reviewdb.client.Change change ) { if ( change.getStatus ( ) . isOpen ( ) ) { change.nextPatchSetId ( ) ; change.setLastSha1MergeTested ( null ) ; return change ; } else { return null ; } }
Source:
public com.google.gerrit.metrics.Timer0.Context start ( ) { return new com.google.gerrit.metrics.Timer0.Context ( ) ; }

Target:
public com.google.gerrit.metrics.Timer0.Context start ( ) { return new com.google.gerrit.metrics.Timer0.Context ( this ) ; }
Source:
private com.google.gerrit.server.patch.PatchListKey getKey ( org.eclipse.jgit.lib.ObjectId revisionIdA , org.eclipse.jgit.lib.ObjectId revisionIdB ) { return new com.google.gerrit.server.patch.PatchListKey ( project , revisionIdA , revisionIdB , com.google.gerrit.reviewdb.client.AccountDiffPreference.Whitespace.IGNORE_NONE ) ; }

Target:
private com.google.gerrit.server.patch.PatchListKey getKey ( org.eclipse.jgit.lib.ObjectId revisionIdA , org.eclipse.jgit.lib.ObjectId revisionIdB ) { return new com.google.gerrit.server.patch.PatchListKey ( revisionIdA , revisionIdB , com.google.gerrit.reviewdb.client.AccountDiffPreference.Whitespace.IGNORE_NONE ) ; }
Source:
public void flushAll_Forbidden ( ) throws java.lang.Exception { com.google.gerrit.acceptance.RestResponse r = userSession.post ( "/config/server/caches/" , new com.google.gerrit.server.config.PostCaches.Input ( com.google.gerrit.server.config.PostCaches.Operation.FLUSH_ALL ) ) ; org.junit.Assert.assertEquals ( HttpStatus.SC_FORBIDDEN , r.getStatusCode ( ) ) ; }

Target:
public void flushAll_Forbidden ( ) throws java.lang.Exception { com.google.gerrit.acceptance.RestResponse r = userSession.post ( "/config/server/caches/" , new com.google.gerrit.server.config.PostCaches.Input ( com.google.gerrit.server.config.PostCaches.Operation.FLUSH_ALL ) ) ; com.google.common.truth.Truth.assertThat ( r.getStatusCode ( ) ) . isEqualTo ( HttpStatus.SC_FORBIDDEN ) ; }
Source:
public void onFailure ( java.lang.Throwable caught ) { origCb.onFailure ( caught ) ; }

Target:
public void onFailure ( java.lang.Throwable caught ) { }
Source:
public void onSuccess ( ) { com.google.gerrit.client.Gerrit.display ( this . token , new com.google.gerrit.client.documentation.DocScreen ( com.google.gerrit.client.Dispatcher.skip ( this . token ) ) ) ; }

Target:
public void onSuccess ( ) { com.google.gerrit.client.Gerrit.display ( token , new com.google.gerrit.client.documentation.DocScreen ( com.google.gerrit.client.Dispatcher.skip ( token ) ) ) ; }
Source:
private static com.google.gerrit.reviewdb.client.AuthType toType ( final org.eclipse.jgit.lib.Config cfg ) { return com.google.gerrit.server.config.ConfigUtil.getEnum ( cfg , "auth" , null , "type" , AuthType.OPENID ) ; }

Target:
private static com.google.gerrit.reviewdb.client.AuthType toType ( final org.eclipse.jgit.lib.Config cfg ) { return cfg.getEnum ( "auth" , null , "type" , AuthType.OPENID ) ; }
Source:
java.lang.String getRemoteAddressAsString ( ) { return remoteAsString ; }

Target:
public java.lang.String getRemoteAddressAsString ( ) { return remoteAsString ; }
Source:
public java.lang.Object getScreenCacheToken ( ) { return com.google.gerrit.client.Link.SETTINGS ; }

Target:
public java.lang.Object getScreenCacheToken ( ) { return this ; }
Source:
public org.eclipse.jgit.lib.Repository getRepository ( ) throws java.io.IOException { initRepository ( ) ; return repo ; }

Target:
public org.eclipse.jgit.lib.Repository getRepository ( ) throws java.io.IOException { return this . getRepository ( ) ; }
Source:
private java.util.List < com.google.gerrit.reviewdb.RefRight > getInheritedRights ( com.google.gerrit.reviewdb.ApprovalCategory.Id actionId ) { if ( actionId.canInheritFromWildProject ( ) ) { return filter ( projectControl.getProjectState ( ) . getInheritedRights ( ) , actionId ) ; } else { return java.util.Collections.emptyList ( ) ; } }

Target:
private java.util.List < com.google.gerrit.reviewdb.RefRight > getInheritedRights ( com.google.gerrit.reviewdb.ApprovalCategory.Id actionId ) { return filter ( getProjectState ( ) . getInheritedRights ( actionId ) ) ; }
Source:
private com.google.gerrit.common.data.SubmitTypeRecord typeError ( java.lang.String err ) { if ( logErrors ) { com.google.gerrit.server.project.SubmitRuleEvaluator.log.error ( err ) ; return com.google.gerrit.server.project.SubmitRuleEvaluator.defaultTypeError ( ) ; } else { return com.google.gerrit.server.project.SubmitRuleEvaluator.createTypeError ( err ) ; } }

Target:
private com.google.gerrit.common.data.SubmitTypeRecord typeError ( java.lang.String err ) { return typeError ( err , null ) ; }
Source:
protected com.google.gerrit.client.patches.UnifiedDiffTable createContentTable ( ) { return new com.google.gerrit.client.patches.UnifiedDiffTable ( this ) ; }

Target:
protected com.google.gerrit.client.patches.UnifiedDiffTable createContentTable ( ) { return new com.google.gerrit.client.patches.UnifiedDiffTable ( ) ; }
Source:
public static void invalidate ( final com.google.gerrit.client.reviewdb.Account acct ) { synchronized ( com.google.gerrit.server.ssh.SshUtil.keys ) { com.google.gerrit.server.ssh.SshUtil.keys.remove ( acct.getPreferredEmail ( ) ) ; } }

Target:
public static void invalidate ( final com.google.gerrit.client.reviewdb.Account acct ) { if ( acct != null ) { synchronized ( com.google.gerrit.server.ssh.SshUtil.keys ) { com.google.gerrit.server.ssh.SshUtil.keys.remove ( acct.getPreferredEmail ( ) ) ; } } }
Source:
protected < R extends com.google.gerrit.extensions.restapi.RestResource > com.google.gerrit.extensions.restapi.RestApiModule.ModifyViewBinder < R > post ( com.google.inject.TypeLiteral < com.google.gerrit.extensions.restapi.RestView < R > > viewType , java.lang.String name ) { return new com.google.gerrit.extensions.restapi.RestApiModule.ModifyViewBinder < R > ( view ( viewType , com.google.gerrit.extensions.restapi.RestApiModule.POST , name ) ) ; }

Target:
protected < R extends com.google.gerrit.extensions.restapi.RestResource > com.google.gerrit.extensions.restapi.RestApiModule.ModifyViewBinder < R > post ( com.google.inject.TypeLiteral < com.google.gerrit.extensions.restapi.RestView < R > > viewType , java.lang.String name ) { return new com.google.gerrit.extensions.restapi.RestApiModule.ModifyViewBinder ( view ( viewType , com.google.gerrit.extensions.restapi.RestApiModule.POST , name ) ) ; }
Source:
public void onSuccess ( com.google.gerrit.client.rpc.NativeString result ) { cb.onSuccess ( result.asString ( ) ) ; }

Target:
public void onSuccess ( com.google.gerrit.client.rpc.NativeString result ) { cb.onSuccess ( ( result != null ? result.asString ( ) : null ) ) ; }
Source:
public short getMinAutomergeVote ( ) throws org.eclipse.jgit.errors.ConfigInvalidException { return ( ( short ) ( getConfig ( ) . getInt ( "global" , "minAutomergeVote" , 1 ) ) ) ; }

Target:
public short getMinAutomergeVote ( ) throws org.eclipse.jgit.errors.ConfigInvalidException { return ( ( short ) ( getConfig ( ) . getInt ( "global" , "minAutomergeVote" , ( - 2 ) ) ) ) ; }
Source:
public void start ( ) { try { java.nio.file.Files.walkFileTree ( gitDir.toPath ( ) , new com.googlesource.gerrit.plugins.deleteproject.fs.DeleteTrashFolders.TrashFolderRemover ( ) ) ; } catch ( java.io.IOException e ) { com.googlesource.gerrit.plugins.deleteproject.fs.DeleteTrashFolders.log.warn ( "Exception occured while trying to delete trash folders" , e ) ; } }

Target:
public void run ( ) { try { java.nio.file.Files.walkFileTree ( gitDir.toPath ( ) , new com.googlesource.gerrit.plugins.deleteproject.fs.DeleteTrashFolders.TrashFolderRemover ( ) ) ; } catch ( java.io.IOException e ) { com.googlesource.gerrit.plugins.deleteproject.fs.DeleteTrashFolders.log.warn ( "Exception occured while trying to delete trash folders" , e ) ; } }
Source:
public void onKeyPress ( com.google.gwt.event.dom.client.KeyPressEvent event ) { com.google.gerrit.client.Gerrit.display ( com.google.gerrit.common.PageLinks.toChange ( changeId ) ) ; }

Target:
public void onKeyPress ( com.google.gwt.event.dom.client.KeyPressEvent event ) { com.google.gerrit.client.Gerrit.display ( com.google.gerrit.common.PageLinks.toChange ( project , changeId ) ) ; }
Source:
public void onClick ( com.google.gwt.event.dom.client.ClickEvent event ) { sugestParent.setText ( getRowItem ( row ) . getName ( ) ) ; }

Target:
public void onClick ( com.google.gwt.event.dom.client.ClickEvent event ) { sugestParent.setText ( getRowItem ( row ) . name ( ) ) ; }
Source:
public void addRefUpdate ( org.eclipse.jgit.transport.ReceiveCommand cmd ) throws java.io.IOException { initRepository ( ) ; repoView.getCommands ( ) . add ( cmd ) ; }

Target:
public void addRefUpdate ( org.eclipse.jgit.transport.ReceiveCommand cmd ) throws java.io.IOException { initRepository ( ) ; commands.add ( cmd ) ; }
Source:
public void listTagsOfNonExistingProject_NotFound ( ) throws java.lang.Exception { org.junit.Assert.assertEquals ( HttpStatus.SC_NOT_FOUND , adminSession.get ( "/projects/non-existing/tags" ) . getStatusCode ( ) ) ; }

Target:
public void listTagsOfNonExistingProject_NotFound ( ) throws java.lang.Exception { com.google.common.truth.Truth.assertThat ( adminSession.get ( "/projects/non-existing/tags" ) . getStatusCode ( ) ) . isEqualTo ( HttpStatus.SC_NOT_FOUND ) ; }
Source:
protected Project.NameKey getProjectName ( ) { return com.google.gerrit.server.notedb.ChangeUpdate.getProjectName ( ctl ) ; }

Target:
protected Project.NameKey getProjectName ( ) { return getChange ( ) . getProject ( ) ; }
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.gerrit.extensions.restapi.RestApiException , com.google.gwtorm.server.OrmException { checkEnabled ( ) ; return com.google.gerrit.extensions.restapi.Response.withMustRevalidate ( newChangeJson ( ) . 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.gerrit.extensions.restapi.RestApiException , com.google.gwtorm.server.OrmException { return com.google.gerrit.extensions.restapi.Response.withMustRevalidate ( newChangeJson ( ) . format ( rsrc ) ) ; }
Source:
public com.google.gerrit.reviewdb.client.Change getChange ( ) { return notes.getChange ( ) ; }

Target:
private com.google.gerrit.reviewdb.client.Change getChange ( ) { return notes.getChange ( ) ; }
Source:
public void setSubmitType ( final com.google.gerrit.reviewdb.Project.SubmitType type ) { submitType = type.getCode ( ) ; }

Target:
public void setSubmitType ( final com.google.gerrit.reviewdb.Project.SubmitType type ) { submitType = type ; }
Source:
public final native void setRange ( com.google.gerrit.client.diff.CommentRange range ) ;

Target:
public final native void message ( java.lang.String m ) ;
Source:
protected void configure ( ) { bind ( com.google.gerrit.server.RequestCleanup.class ) . in ( com.google.inject.servlet.RequestScoped.class ) ; bind ( com.google.gerrit.server.config.RequestScopedReviewDbProvider.class ) ; bind ( IdentifiedUser.RequestFactory.class ) . in ( com.google.inject.Scopes.SINGLETON ) ; bind ( com.google.gerrit.server.project.PerRequestProjectControlCache.class ) . in ( com.google.inject.servlet.RequestScoped.class ) ; }

Target:
protected void configure ( ) { bind ( com.google.gerrit.server.RequestCleanup.class ) . in ( com.google.inject.servlet.RequestScoped.class ) ; bind ( com.google.gerrit.server.config.RequestScopedReviewDbProvider.class ) ; bind ( IdentifiedUser.RequestFactory.class ) . in ( com.google.inject.Scopes.SINGLETON ) ; }
Source:
public void updateRepo ( com.google.gerrit.server.update.RepoContext ctx ) throws java.lang.Exception { ctx.addRefUpdate ( new org.eclipse.jgit.transport.ReceiveCommand ( masterCommit.getId ( ) , branchCommit.getId ( ) , "refs/heads/master" ) ) ; }

Target:
public void updateRepo ( com.google.gerrit.server.update.RepoContext ctx ) throws java.lang.Exception { ctx.addRefUpdate ( masterCommit.getId ( ) , branchCommit.getId ( ) , "refs/heads/master" ) ; }
Source:
public void printJson ( final java.lang.StringBuffer sb , final T o ) { sb.append ( '"' ) ; sb.append ( o.name ( ) ) ; sb.append ( '"' ) ; }

Target:
public void printJson ( final java.lang.StringBuilder sb , final T o ) { sb.append ( '"' ) ; sb.append ( o.name ( ) ) ; sb.append ( '"' ) ; }
Source:
private static boolean skipField ( java.lang.reflect.Field field ) { int modifiers = field.getModifiers ( ) ; return ( java.lang.reflect.Modifier.isFinal ( modifiers ) ) || ( java.lang.reflect.Modifier.isTransient ( modifiers ) ) ; }

Target:
public static boolean skipField ( java.lang.reflect.Field field ) { int modifiers = field.getModifiers ( ) ; return ( java.lang.reflect.Modifier.isFinal ( modifiers ) ) || ( java.lang.reflect.Modifier.isTransient ( modifiers ) ) ; }
Source:
public void singleHeadText ( ) throws java.lang.Exception { setUpSimpleRefs ( ) ; com.google.gitiles.FakeHttpServletResponse res = buildText ( "/repo/+refs/heads/master" ) ; org.junit.Assert.assertEquals ( ( ( id ( "refs/heads/master" ) ) + " refs/heads/master\n" ) , res.getActualBodyString ( ) ) ; }

Target:
public void singleHeadText ( ) throws java.lang.Exception { setUpSimpleRefs ( ) ; com.google.gitiles.FakeHttpServletResponse res = buildText ( "/repo/+refs/heads/master" ) ; com.google.common.truth.Truth.assertThat ( res.getActualBodyString ( ) ) . isEqualTo ( ( ( id ( "refs/heads/master" ) ) + " refs/heads/master\n" ) ) ; }
Source:
com.google.gerrit.server.mail.AbandonedSender create ( com.google.gerrit.reviewdb.client.Change.Id change ) ;

Target:
com.google.gerrit.server.mail.AbandonedSender create ( com.google.gerrit.reviewdb.client.Project.NameKey project , com.google.gerrit.reviewdb.client.Change.Id change ) ;
Source:
public final void update ( final java.lang.Iterable < E > instances ) throws com.google.gwtorm.client.OrmException { doUpdate ( instances , null ) ; }

Target:
public final void update ( final java.lang.Iterable < E > instances ) throws com.google.gwtorm.client.OrmException { doUpdate ( instances ) ; }
Source:
public com.google.gerrit.client.reviewdb.PatchSetAncestor.Key getKey ( ) { return key ; }

Target:
public com.google.gerrit.client.reviewdb.PatchSetAncestor.Id getId ( ) { return key ; }
Source:
public void addPatchSets ( com.google.gerrit.server.events.ChangeAttribute a , java.util.Collection < com.google.gerrit.reviewdb.PatchSet > ps ) { addPatchSets ( a , ps , null ) ; }

Target:
public void addPatchSets ( com.google.gerrit.server.events.ChangeAttribute a , java.util.Collection < com.google.gerrit.reviewdb.PatchSet > ps ) { addPatchSets ( a , ps , null , false , null ) ; }
Source:
public com.google.gerrit.client.ui.ListenableValue < com.google.gerrit.common.data.ChangeInfo > getChangeInfoCache ( ) { if ( ( info ) == null ) { info = new com.google.gerrit.client.ui.ListenableValue < com.google.gerrit.common.data.ChangeInfo > ( ) ; } return info ; }

Target:
public com.google.gerrit.client.ui.ListenableValue < com.google.gerrit.common.data.ChangeInfo > getChangeInfoCache ( ) { if ( ( info ) == null ) { info = new com.google.gerrit.client.ui.ListenableValue ( ) ; } return info ; }
Source:
public void setCommands ( java.util.List < com.google.gerrit.common.data.UiCommandDetail > cmds ) { commands = cmds ; }

Target:
public void setCommands ( java.util.List < com.google.gerrit.common.data.UiCommandDetail > cmds ) { commands = ( cmds.isEmpty ( ) ) ? null : cmds ; }
Source:
protected Project.NameKey getProjectKey ( ) { return name ; }

Target:
public Project.NameKey getProjectKey ( ) { return name ; }
Source:
public void onClick ( com.google.gwt.event.dom.client.ClickEvent event ) { com.google.gerrit.client.admin.EditConfigAction.call ( editConfig , getProjectKey ( ) . get ( ) ) ; }

Target:
public void onClick ( com.google.gwt.event.dom.client.ClickEvent event ) { com.google.gerrit.client.admin.EditConfigAction.call ( editConfig , getProjectKey ( ) ) ; }
Source:
public java.util.List < org.eclipse.jgit.revwalk.FooterLine > commitFooters ( com.google.gerrit.server.git.GitRepositoryManager repoManager , com.google.inject.Provider < com.google.gerrit.reviewdb.server.ReviewDb > db ) throws com.google.gwtorm.server.OrmException , java.io.IOException { if ( ( commitFooters ) == null ) { loadCommitData ( repoManager , db ) ; } return commitFooters ; }

Target:
public java.util.List < org.eclipse.jgit.revwalk.FooterLine > commitFooters ( ) throws com.google.gwtorm.server.OrmException , java.io.IOException { if ( ( commitFooters ) == null ) { loadCommitData ( ) ; } return commitFooters ; }
Source:
public static void edit ( int id , com.google.gwt.user.client.rpc.AsyncCallback < com.google.gerrit.client.info.ChangeInfo.EditInfo > cb ) { com.google.gerrit.client.changes.ChangeApi.edit ( id ) . get ( cb ) ; }

Target:
public static void edit ( @ com.google.gerrit.common.Nullable java.lang.String project , int id , com.google.gwt.user.client.rpc.AsyncCallback < com.google.gerrit.client.info.ChangeInfo.EditInfo > cb ) { com.google.gerrit.client.changes.ChangeApi.edit ( project , id ) . get ( cb ) ; }
Source:
int getCookieAge ( final com.google.gerrit.httpd.WebSessionManager.Val val ) { if ( val.isPersistentCookie ( ) ) { return ( ( int ) ( java.util.concurrent.TimeUnit.MILLISECONDS.toSeconds ( sessionMaxAgeMillis ) ) ) ; } else { return - 1 ; } }

Target:
int getCookieAge ( final com.google.gerrit.httpd.WebSessionManager.Val val ) { if ( val.isPersistentCookie ( ) ) { return ( ( int ) ( java.util.concurrent.TimeUnit.MILLISECONDS.toSeconds ( sessionMaxAgeMillis ) ) ) ; } return - 1 ; }
Source:
public com.google.gerrit.server.change.ChangeKind getChangeKind ( com.google.gerrit.reviewdb.server.ReviewDb db , com.google.gerrit.server.notedb.ChangeNotes notes , com.google.gerrit.reviewdb.client.PatchSet patch ) { return com.google.gerrit.server.change.ChangeKindCacheImpl.getChangeKindInternal ( this , db , notes , patch , changeDataFactory , projectCache , repoManager ) ; }

Target:
public com.google.gerrit.server.change.ChangeKind getChangeKind ( com.google.gerrit.reviewdb.server.ReviewDb db , com.google.gerrit.reviewdb.client.Change change , com.google.gerrit.reviewdb.client.PatchSet patch ) { return com.google.gerrit.server.change.ChangeKindCacheImpl.getChangeKindInternal ( this , db , change , patch , changeDataFactory , projectCache , repoManager ) ; }
Source:
protected void preDisplay ( final com.google.gerrit.client.projects.ProjectMap result ) { projects.display ( result ) ; }

Target:
public void onSuccess ( com.google.gerrit.client.projects.ProjectMap result ) { projects.display ( result ) ; }
Source:
private void logError ( java.lang.String msg ) { if ( com.google.gerrit.server.git.MergeOp.log.isErrorEnabled ( ) ) { com.google.gerrit.server.git.MergeOp.log.error ( ( ( logPrefix ) + msg ) ) ; } }

Target:
private void logError ( java.lang.String msg ) { logError ( msg , null ) ; }
Source:
protected com.google.gerrit.server.notedb.ChangeNotes newNotes ( com.google.gerrit.reviewdb.client.Change c ) throws com.google.gwtorm.server.OrmException { return new com.google.gerrit.server.notedb.ChangeNotes ( args , c.getProject ( ) , c ) . load ( ) ; }

Target:
protected com.google.gerrit.server.notedb.ChangeNotes newNotes ( com.google.gerrit.reviewdb.client.Change c ) throws com.google.gwtorm.server.OrmException { return new com.google.gerrit.server.notedb.ChangeNotes ( args , c ) . load ( ) ; }
Source:
public static com.google.gerrit.extensions.client.RangeSubject assertThat ( com.google.gerrit.extensions.client.Comment.Range range ) { return com.google.common.truth.Truth.assertAbout ( com.google.gerrit.extensions.client.RangeSubject.RANGE_SUBJECT_FACTORY ) . that ( range ) ; }

Target:
public static com.google.gerrit.extensions.client.RangeSubject assertThat ( com.google.gerrit.extensions.client.Comment.Range range ) { return com.google.common.truth.Truth.assertAbout ( com.google.gerrit.extensions.client.RangeSubject :: new ) . that ( range ) ; }
Source:
com.google.gwtorm.client.ResultSet < com.google.gerrit.client.reviewdb.Account > bySshUserName ( java.lang.String userName ) throws com.google.gwtorm.client.OrmException ;

Target:
com.google.gerrit.client.reviewdb.Account bySshUserName ( java.lang.String userName ) throws com.google.gwtorm.client.OrmException ;
Source:
boolean hasPrev ( ) { return hasPrev ; }

Target:
public void run ( ) { }
Source:
public java.util.List < com.google.gerrit.extensions.common.ChangeInfo > submittedTogether ( java.util.EnumSet < com.google.gerrit.extensions.client.SubmittedTogetherOption > o ) throws com.google.gerrit.extensions.restapi.RestApiException { throw new com.google.gerrit.extensions.restapi.NotImplementedException ( ) ; }

Target:
public java.util.List < com.google.gerrit.extensions.common.ChangeInfo > submittedTogether ( ) throws com.google.gerrit.extensions.restapi.RestApiException { throw new com.google.gerrit.extensions.restapi.NotImplementedException ( ) ; }
Source:
private void assertProblems ( com.google.gerrit.gpg.PublicKeyChecker checker , com.google.gerrit.gpg.testutil.TestKey k , java.lang.String ... expected ) { com.google.gerrit.gpg.CheckResult result = checker.check ( k.getPublicKey ( ) , store ) ; org.junit.Assert.assertEquals ( java.util.Arrays.asList ( expected ) , result.getProblems ( ) ) ; }

Target:
private void assertProblems ( com.google.gerrit.gpg.PublicKeyChecker checker , com.google.gerrit.gpg.testutil.TestKey k , java.lang.String ... expected ) { com.google.gerrit.gpg.CheckResult result = checker.check ( k.getPublicKey ( ) ) ; org.junit.Assert.assertEquals ( java.util.Arrays.asList ( expected ) , result.getProblems ( ) ) ; }
Source:
private org.eclipse.jgit.lib.Ref getDraftRef ( com.google.gerrit.acceptance.TestAccount account , com.google.gerrit.reviewdb.client.Change.Id changeId ) throws java.lang.Exception { try ( org.eclipse.jgit.lib.Repository repo = repoManager.openRepository ( allUsers ) ) { return repo.exactRef ( com.google.gerrit.reviewdb.client.RefNames.refsDraftComments ( account.id , changeId ) ) ; } }

Target:
private org.eclipse.jgit.lib.Ref getDraftRef ( com.google.gerrit.acceptance.TestAccount account , com.google.gerrit.reviewdb.client.Change.Id changeId ) throws java.lang.Exception { try ( org.eclipse.jgit.lib.Repository repo = repoManager.openRepository ( allUsers ) ) { return repo.exactRef ( com.google.gerrit.reviewdb.client.RefNames.refsDraftComments ( changeId , account.id ) ) ; } }
Source:
public com.google.gerrit.client.reviewdb.com.google.gwtorm [ ] members ( ) { return new com.google.gwtorm.client.Key < ? > [ ] { projectId } ; }

Target:
public com.google.gerrit.client.reviewdb.com.google.gwtorm [ ] members ( ) { return new com.google.gwtorm.client.Key < ? > [ ] { projectName } ; }
Source:
boolean canPerform ( java.lang.String permissionName ) { return canPerform ( permissionName , false ) ; }

Target:
boolean canPerform ( java.lang.String permissionName ) { return canPerform ( permissionName , false , false ) ; }
Source:
protected void configure ( ) { bind ( com.google.gerrit.extensions.api.GerritApi.class ) . to ( com.google.gerrit.server.api.GerritApiImpl.class ) ; install ( new com.google.gerrit.server.api.Module ( ) ) ; install ( new com.google.gerrit.server.api.Module ( ) ) ; }

Target:
protected void configure ( ) { bind ( com.google.gerrit.extensions.api.GerritApi.class ) . to ( com.google.gerrit.server.api.GerritApiImpl.class ) ; install ( new com.google.gerrit.server.api.Module ( ) ) ; install ( new com.google.gerrit.server.api.Module ( ) ) ; install ( new com.google.gerrit.server.api.Module ( ) ) ; }
Source:
public static void included ( com.google.gerrit.reviewdb.client.AccountGroup.UUID group , com.google.gwt.user.client.rpc.AsyncCallback < com.google.gerrit.client.groups.GroupList > callback ) { new com.google.gerrit.client.rpc.RestApi ( "/groups/" ) . id ( group.get ( ) ) . view ( "groups" ) . get ( callback ) ; }

Target:
public static void included ( com.google.gerrit.reviewdb.client.AccountGroup.UUID group , com.google.gwt.user.client.rpc.AsyncCallback < com.google.gerrit.client.groups.GroupList > callback ) { new com.google.gerrit.client.rpc.RestApi ( "groups" ) . id ( group.get ( ) ) . view ( "groups" ) . get ( callback ) ; }
Source:
private com.google.gerrit.server.patch.PatchList listFor ( com.google.gerrit.server.patch.PatchListKey key ) throws com.google.gerrit.server.patch.PatchListNotAvailableException { return patchListCache.get ( key ) ; }

Target:
private com.google.gerrit.server.patch.PatchList listFor ( com.google.gerrit.server.patch.PatchListKey key ) throws com.google.gerrit.server.patch.PatchListNotAvailableException { return patchListCache.get ( key , project ) ; }
Source:
public void testCreateLinkForWebUiEmptyText ( ) { mockUnconnectableStoryboard ( ) ; replayMocks ( ) ; com.googlesource.gerrit.plugins.its.storyboard.StoryboardItsFacade itsFacade = createStoryboardItsFacade ( ) ; java.lang.String actual = itsFacade.createLinkForWebui ( "Test-Url" , "" ) ; assertEquals ( "[Test-Url]" , actual ) ; }

Target:
public void testCreateLinkForWebUiEmptyText ( ) { mockUnconnectableStoryboard ( ) ; replayMocks ( ) ; com.googlesource.gerrit.plugins.its.storyboard.StoryboardItsFacade itsFacade = createStoryboardItsFacade ( ) ; java.lang.String actual = itsFacade.createLinkForWebui ( "Test-Url" , "" ) ; assertEquals ( "Test-Url" , actual ) ; }
Source:
protected java.lang.String getRefName ( ) { return com.google.gerrit.server.notedb.ChangeNoteUtil.changeRefName ( ctl.getId ( ) ) ; }

Target:
protected java.lang.String getRefName ( ) { return com.google.gerrit.server.notedb.ChangeNoteUtil.changeRefName ( getId ( ) ) ; }
Source:
public void deleteDraftChange ( final com.google.gerrit.reviewdb.PatchSet.Id patchSetId , final com.google.gwt.user.client.rpc.AsyncCallback < com.google.gwtjsonrpc.client.VoidResult > callback ) { deleteDraftChangeFactory.create ( patchSetId ) . to ( callback ) ; }

Target:
public void deleteDraftChange ( final com.google.gerrit.reviewdb.client.PatchSet.Id patchSetId , final com.google.gwt.user.client.rpc.AsyncCallback < com.google.gwtjsonrpc.client.VoidResult > callback ) { deleteDraftChangeFactory.create ( patchSetId ) . to ( callback ) ; }
Source:
public com.google.gerrit.extensions.restapi.RestView < com.google.gerrit.server.config.ConfigResource > list ( ) throws com.google.gerrit.extensions.restapi.ResourceNotFoundException { return list.get ( ) ; }

Target:
public com.google.gerrit.extensions.restapi.RestView < com.google.gerrit.server.config.ConfigResource > list ( ) throws com.google.gerrit.extensions.restapi.ResourceNotFoundException { return list ; }
Source:
protected java.io.Writer newWriter ( javax.servlet.http.HttpServletResponse res ) throws java.io.IOException { return com.google.gitiles.BaseServlet.newWriter ( res.getOutputStream ( ) , res ) ; }

Target:
private java.io.Writer newWriter ( javax.servlet.http.HttpServletResponse res ) throws java.io.IOException { return com.google.gitiles.BaseServlet.newWriter ( res.getOutputStream ( ) , res ) ; }
Source:
private Timer1.Context getMetricsTimerContext ( java.lang.String name ) { return execTime.start ( name ) ; }

Target:
Timer1.Context start ( java.lang.String name ) { return execTime.start ( name ) ; }
Source:
java.lang.String statusTypeCell ( ) ;

Target:
java.lang.String status ( ) ;
Source:
protected org.eclipse.jgit.revwalk.RevCommit getRemoteHead ( ) throws java.io.IOException { org.eclipse.jgit.lib.Repository repo = repoManager.openRepository ( project ) ; try { return getHead ( repo , "refs/heads/master" ) ; } finally { repo.close ( ) ; } }

Target:
protected org.eclipse.jgit.revwalk.RevCommit getRemoteHead ( ) throws java.io.IOException { try ( org.eclipse.jgit.lib.Repository repo = repoManager.openRepository ( project ) ) { return getHead ( repo , "refs/heads/master" ) ; } }
Source:
protected void setCacheHeaders ( javax.servlet.http.HttpServletRequest req , javax.servlet.http.HttpServletResponse res ) { com.google.gitiles.BaseServlet.setNotCacheable ( res ) ; }

Target:
protected void setCacheHeaders ( javax.servlet.http.HttpServletResponse res ) { com.google.gitiles.BaseServlet.setNotCacheable ( res ) ; }
Source:
public void setPreviewText ( final java.lang.String text ) { if ( ( textLabel ) != null ) { textLabel.setText ( text ) ; visibleLen = text.length ( ) ; } }

Target:
public void setPreviewText ( final java.lang.String text ) { if ( ( textLabel ) != null ) { textLabel.setText ( text ) ; } }
Source:
private com.google.inject.Module createIndexModule ( ) { switch ( indexType ) { case LUCENE : return com.google.gerrit.lucene.LuceneIndexModule.latestVersionWithOnlineUpgrade ( ) ; case ELASTICSEARCH : return com.google.gerrit.elasticsearch.ElasticIndexModule.latestVersionWithOnlineUpgrade ( ) ; default : throw new java.lang.IllegalStateException ( ( "unsupported index.type = " + ( indexType ) ) ) ; } }

Target:
private com.google.inject.Module createIndexModule ( ) { switch ( indexType ) { case LUCENE : return com.google.gerrit.lucene.LuceneIndexModule.latestVersionWithOnlineUpgrade ( false ) ; case ELASTICSEARCH : return com.google.gerrit.elasticsearch.ElasticIndexModule.latestVersionWithOnlineUpgrade ( false ) ; default : throw new java.lang.IllegalStateException ( ( "unsupported index.type = " + ( indexType ) ) ) ; } }
Source:
public abstract java.util.concurrent.Callable < ? > deleteTask ( com.google.gerrit.server.query.change.ChangeData cd ) ;

Target:
protected abstract java.util.concurrent.Callable < ? > deleteTask ( com.google.gerrit.server.query.change.ChangeData cd ) ;
Source:
public void testInvalidSchemeInReplace ( ) { try { new com.google.gwtexpui.safehtml.client.LinkFindReplace ( "find" , "javascript:alert(1)" ) . replace ( "find" ) ; fail ( "Expected IllegalStateException" ) ; } catch ( java.lang.IllegalArgumentException expected ) { } }

Target:
public void testInvalidSchemeInReplace ( ) { try { new com.google.gwtexpui.safehtml.client.LinkFindReplace ( "find" , "javascript:alert(1)" ) . replace ( "find" ) ; org.junit.Assert.fail ( "Expected IllegalStateException" ) ; } catch ( java.lang.IllegalArgumentException expected ) { } }
Source:
public final native void base_change ( java.lang.String b ) ;

Target:
public final native void topic ( java.lang.String t ) ;
Source:
public boolean allRefsAreVisible ( java.util.Set < java.lang.String > ignore ) { return ( user.isInternalUser ( ) ) || ( canPerformOnAllRefs ( Permission.READ , ignore ) ) ; }

Target:
private boolean allRefsAreVisible ( java.util.Set < java.lang.String > ignore ) { return ( user.isInternalUser ( ) ) || ( canPerformOnAllRefs ( Permission.READ , ignore ) ) ; }
Source:
public com.google.gerrit.server.mail.MergedSender create ( com.google.gerrit.server.project.ChangeControl change ) ;

Target:
public com.google.gerrit.server.mail.MergedSender create ( com.google.gerrit.reviewdb.client.Change.Id id ) ;
Source:
public void onLoad ( com.google.gerrit.plugin.client.extension.Panel panel ) { com.google.gerrit.client.info.ChangeInfo.RevisionInfo rev = panel.getObject ( GerritUiExtensionPoint.Key.REVISION_INFO ) . cast ( ) ; if ( rev.isEdit ( ) ) { return ; } panel.setWidget ( new com.googlesource.gerrit.plugins.verifystatus.client.JobsDropDownPanel ( panel ) ) ; }

Target:
public void onLoad ( com.google.gerrit.plugin.client.extension.Panel panel ) { com.google.gerrit.client.info.ChangeInfo.RevisionInfo rev = panel.getObject ( GerritUiExtensionPoint.Key.REVISION_INFO ) . cast ( ) ; if ( rev.isEdit ( ) ) { return ; } panel.setWidget ( new com.googlesource.gerrit.plugins.verifystatus.client.JobsDropDownPanel ( panel , info ) ) ; }
Source:
long read ( ) { return generation ; }

Target:
long read ( ) { return generation.get ( ) ; }
Source:
public void setLoggedIn ( boolean b ) { loggedIn = false ; }

Target:
public void setLoggedIn ( boolean b ) { loggedIn = b ; }
Source:
public void suggestReviewersNoResult1 ( ) throws java.lang.Exception { java.lang.String changeId = createChange ( ) . getChangeId ( ) ; java.util.List < com.google.gerrit.server.change.SuggestReviewers.SuggestedReviewerInfo > reviewers = suggestReviewers ( changeId , "u" , 6 ) ; org.junit.Assert.assertEquals ( reviewers.size ( ) , 0 ) ; }

Target:
public void suggestReviewersNoResult1 ( ) throws java.lang.Exception { java.lang.String changeId = createChange ( ) . getChangeId ( ) ; java.util.List < com.google.gerrit.server.change.SuggestReviewers.SuggestedReviewerInfo > reviewers = suggestReviewers ( changeId , "u" , 6 ) ; com.google.common.truth.Truth.assertThat ( reviewers ) . isEmpty ( ) ; }
Source:
public void execute ( ) { resizePaddingOnOtherSide ( side , instance.getLineNumber ( handle ) ) ; }

Target:
public void run ( ) { resizePaddingOnOtherSide ( side , instance.getLineNumber ( handle ) ) ; }
Source:
public final native void matchBrackets ( boolean s ) ;

Target:
public final native void matchBrackets ( boolean m ) ;
Source:
protected void onInitUI ( ) { super . onInitUI ( ) ; setPageTitle ( Util.M.project ( name.get ( ) ) ) ; }

Target:
protected void onInitUI ( ) { super . onInitUI ( ) ; if ( ( name ) != null ) { setPageTitle ( Util.M.project ( name.get ( ) ) ) ; } }
Source:
void onAddGroupByClick ( com.google.gwt.event.dom.client.ClickEvent event ) { com.google.gerrit.common.data.GroupReference ref = groupToAdd.getValue ( ) ; if ( ref != null ) { addGroup ( ref ) ; } else { groupToAdd.setFocus ( true ) ; } }

Target:
private void addGroup ( ) { com.google.gerrit.common.data.GroupReference ref = groupToAdd.getValue ( ) ; if ( ref != null ) { addGroup ( ref ) ; } else { groupToAdd.setFocus ( true ) ; } }
Source:
com.google.gerrit.extensions.client.ChangeKind getChangeKind ( @ com.google.gerrit.common.Nullable org.eclipse.jgit.lib.Repository repo , com.google.gerrit.server.query.change.ChangeData cd , com.google.gerrit.reviewdb.client.PatchSet patch ) ;

Target:
com.google.gerrit.extensions.client.ChangeKind getChangeKind ( @ com.google.gerrit.common.Nullable org.eclipse.jgit.lib.Repository repo , @ com.google.gerrit.common.Nullable org.eclipse.jgit.revwalk.RevWalk rw , com.google.gerrit.server.query.change.ChangeData cd , com.google.gerrit.reviewdb.client.PatchSet patch ) ;
Source:
public void getTask_NotFound ( ) throws java.lang.Exception { com.google.gerrit.acceptance.RestResponse r = userSession.get ( ( "/config/server/tasks/" + ( getLogFileCompressorTaskId ( ) ) ) ) ; org.junit.Assert.assertEquals ( HttpStatus.SC_NOT_FOUND , r.getStatusCode ( ) ) ; }

Target:
public void getTask_NotFound ( ) throws java.lang.Exception { com.google.gerrit.acceptance.RestResponse r = userSession.get ( ( "/config/server/tasks/" + ( getLogFileCompressorTaskId ( ) ) ) ) ; com.google.common.truth.Truth.assertThat ( r.getStatusCode ( ) ) . isEqualTo ( HttpStatus.SC_NOT_FOUND ) ; }
Source:
public void init ( javax.servlet.FilterConfig filterConfig ) throws javax.servlet.ServletException { cookieProvider.init ( ) ; }

Target:
public void init ( javax.servlet.FilterConfig filterConfig ) throws javax.servlet.ServletException { }
Source:
private com.google.gerrit.server.git.GroupList readGroupList ( ) throws java.io.IOException { return com.google.gerrit.server.git.GroupList.parse ( readUTF8 ( GroupList.FILE_NAME ) , com.google.gerrit.server.git.GroupList.createLoggerSink ( GroupList.FILE_NAME , com.google.gerrit.pgm.init.api.AllProjectsConfig.log ) ) ; }

Target:
private com.google.gerrit.server.git.GroupList readGroupList ( ) throws java.io.IOException { return com.google.gerrit.server.git.GroupList.parse ( new com.google.gerrit.reviewdb.client.Project.NameKey ( project ) , readUTF8 ( GroupList.FILE_NAME ) , com.google.gerrit.server.git.GroupList.createLoggerSink ( GroupList.FILE_NAME , com.google.gerrit.pgm.init.api.AllProjectsConfig.log ) ) ; }