auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public void setAbbreviatedName ( java.lang.String abbreviatedName ) { this . abbreviatedName = abbreviatedName ; }

Target:
public void setAbbreviation ( java.lang.String abbreviation ) { this . abbreviation = abbreviation ; }
Source:
public void patchSetPublishDetail ( final com.google.gerrit.reviewdb.client.PatchSet.Id id , final com.google.gwt.user.client.rpc.AsyncCallback < com.google.gerrit.common.data.PatchSetPublishDetail > callback ) { patchSetPublishDetail.create ( id ) . to ( callback ) ; }

Target:
public void patchSetPublishDetail ( final com.google.gerrit.reviewdb.client.PatchSet.Id id , final com.google.gwtjsonrpc.common.AsyncCallback < com.google.gerrit.common.data.PatchSetPublishDetail > callback ) { patchSetPublishDetail.create ( id ) . to ( callback ) ; }
Source:
private static java.lang.String queryIncoming ( java.lang.String who ) { return ( ( "is:open reviewer:" + who ) + " -owner:" ) + who ; }

Target:
private static java.lang.String queryIncoming ( java.lang.String who ) { return ( ( ( "is:open reviewer:" + who ) + " -owner:" ) + who ) + " -star:ignore" ; }
Source:
private static org.eclipse.jgit.diff.RawTextComparator comparatorFor ( com.google.gerrit.reviewdb.client.AccountDiffPreference.Whitespace ws ) { switch ( ws ) { case IGNORE_ALL_SPACE : return org.eclipse.jgit.diff.RawTextComparator.WS_IGNORE_ALL ; case IGNORE_SPACE_AT_EOL : return org.eclipse.jgit.diff.RawTextComparator.WS_IGNORE_TRAILING ; case IGNORE_SPACE_CHANGE : return org.eclipse.jgit.diff.RawTextComparator.WS_IGNORE_CHANGE ; case IGNORE_NONE : default : return org.eclipse.jgit.diff.RawTextComparator.DEFAULT ; } }

Target:
private static org.eclipse.jgit.diff.RawTextComparator comparatorFor ( com.google.gerrit.reviewdb.client.AccountDiffPreference.Whitespace ws ) { switch ( ws ) { case IGNORE_ALL : return org.eclipse.jgit.diff.RawTextComparator.WS_IGNORE_ALL ; case IGNORE_TRAILING : return org.eclipse.jgit.diff.RawTextComparator.WS_IGNORE_TRAILING ; case IGNORE_LEADING_AND_TRAILING : return org.eclipse.jgit.diff.RawTextComparator.WS_IGNORE_CHANGE ; case IGNORE_NONE : default : return org.eclipse.jgit.diff.RawTextComparator.DEFAULT ; } }
Source:
public int next ( ) { return com.google.gerrit.server.util.IdGenerator.mix ( gen.getAndIncrement ( ) ) ; }

Target:
public int next ( ) { return com.google.gerrit.server.util.IdGenerator.mix ( com.google.gerrit.server.util.IdGenerator.salt , gen.getAndIncrement ( ) ) ; }
Source:
private void fireEvent ( com.google.gerrit.reviewdb.client.Branch.NameKey branchName , final com.google.gerrit.server.events.RefEvent event ) { dispatcher.fireEvent ( branchName , event ) ; }

Target:
private com.google.common.base.Supplier < com.google.gerrit.server.account.AccountState > getAccountSupplier ( final com.google.gerrit.reviewdb.client.Account.Id account ) { return com.google.common.base.Suppliers.memoize ( new com.google.common.base.Supplier < com.google.gerrit.server.account.AccountState > ( ) { @ java.lang.Override public com.google.gerrit.server.account.AccountState get ( ) { return accountCache.get ( account ) ; } } ) ; }
Source:
public void abandonReviewableChangeNotifyNone ( ) throws java.lang.Exception { com.google.gerrit.acceptance.server.mail.StagedChange sc = stageReviewableChange ( com.google.gerrit.server.account.WatchConfig.NotifyType.ABANDONED_CHANGES ) ; abandon ( sc.changeId , sc.owner , com.google.gerrit.extensions.api.changes.NotifyHandling.NONE ) ; assertThat ( sender ) . notSent ( ) ; }

Target:
public void abandonReviewableChangeNotifyNoneCcingSelf ( ) throws java.lang.Exception { com.google.gerrit.acceptance.server.mail.StagedChange sc = stageReviewableChange ( ) ; abandon ( sc.changeId , sc.owner , com.google.gerrit.extensions.client.GeneralPreferencesInfo.EmailStrategy.CC_ON_OWN_COMMENTS , com.google.gerrit.extensions.api.changes.NotifyHandling.NONE ) ; assertThat ( sender ) . notSent ( ) ; }
Source:
void submit ( com.google.gerrit.reviewdb.client.PatchSet.Id patchSetId , com.google.gwtjsonrpc.common.AsyncCallback < com.google.gerrit.common.data.ChangeDetail > callback ) ;

Target:
void abandonChange ( com.google.gerrit.reviewdb.client.PatchSet.Id patchSetId , java.lang.String message , com.google.gwtjsonrpc.common.AsyncCallback < com.google.gerrit.common.data.ChangeDetail > callback ) ;
Source:
public com.google.gerrit.extensions.common.ServerInfo getInfo ( ) throws com.google.gerrit.extensions.restapi.RestApiException { try { return getServerInfo.apply ( new com.google.gerrit.server.config.ConfigResource ( ) ) ; } catch ( java.io.IOException e ) { throw new com.google.gerrit.extensions.restapi.RestApiException ( "Cannot get server info" , e ) ; } }

Target:
public com.google.gerrit.extensions.common.ServerInfo getInfo ( ) throws com.google.gerrit.extensions.restapi.RestApiException { try { return getServerInfo.apply ( new com.google.gerrit.server.config.ConfigResource ( ) ) ; } catch ( java.lang.Exception e ) { throw com.google.gerrit.server.api.ApiUtil.asRestApiException ( "Cannot get server info" , e ) ; } }
Source:
public void onKeyPress ( final com.google.gwt.event.dom.client.KeyPressEvent event ) { if ( ( event.getCharCode ( ) ) == ( com.google.gwt.event.dom.client.KeyCodes.KEY_ENTER ) ) { doSearch ( ) ; } }

Target:
public void onKeyPress ( final com.google.gwt.event.dom.client.KeyPressEvent event ) { switch ( event.getCharCode ( ) ) { case com.google.gwt.event.dom.client.KeyCodes.KEY_ENTER : doSearch ( ) ; break ; case com.google.gwt.event.dom.client.KeyCodes.KEY_ESCAPE : searchBox.setText ( "" ) ; searchBox.setFocus ( false ) ; break ; } }
Source:
private com.google.gerrit.extensions.common.ApprovalInfo approvalInfo ( com.google.gerrit.reviewdb.client.Account.Id id , java.lang.Integer value , java.sql.Timestamp date ) { com.google.gerrit.extensions.common.ApprovalInfo ai = new com.google.gerrit.extensions.common.ApprovalInfo ( id.get ( ) ) ; ai.value = value ; ai.date = date ; accountLoader.put ( ai ) ; return ai ; }

Target:
private com.google.gerrit.extensions.common.ApprovalInfo approvalInfo ( com.google.gerrit.reviewdb.client.Account.Id id , java.lang.Integer value , java.lang.String tag , java.sql.Timestamp date ) { com.google.gerrit.extensions.common.ApprovalInfo ai = com.google.gerrit.server.change.ChangeJson.getApprovalInfo ( id , value , tag , date ) ; accountLoader.put ( ai ) ; return ai ; }
Source:
private com.google.gerrit.server.project.RefControl refControl ( java.lang.String repo , com.google.gerrit.reviewdb.client.Change change ) throws com.google.gerrit.server.project.NoSuchProjectException , java.io.IOException { return projectControlFactory.controlFor ( new com.google.gerrit.reviewdb.client.Project.NameKey ( repo ) , userFactory.create ( user ) ) . controlFor ( change ) . getRefControl ( ) ; }

Target:
protected void assertResultEquals ( java.lang.String message , com.google.gerrit.reviewdb.client.Change expected , com.google.gerrit.server.change.ChangeJson.ChangeInfo actual ) { org.junit.Assert.assertEquals ( message , expected.getId ( ) . get ( ) , actual._number ) ; }
Source:
protected void run ( final java.lang.String [ ] argv ) throws com.google.gerrit.server.ssh.Failure { throw new com.google.gerrit.server.ssh.Failure ( 127 , ( ( "gerrit: " + ( getName ( ) ) ) + ": not found" ) ) ; }

Target:
protected void run ( ) throws com.google.gerrit.server.ssh.Failure { throw new com.google.gerrit.server.ssh.UnloggedFailure ( 127 , ( ( "gerrit: " + ( getName ( ) ) ) + ": not found" ) ) ; }
Source:
public void onFailure ( java.lang.Throwable caught ) { sendButton.setEnabled ( true ) ; super . onFailure ( caught ) ; }

Target:
public void onFailure ( java.lang.Throwable caught ) { sendButton.setEnabled ( true ) ; cancelButton.setEnabled ( true ) ; super . onFailure ( caught ) ; }
Source:
public boolean isValidAuthorization ( java.lang.String keyIn ) { return keyIn.equals ( getAuthorization ( ) ) ; }

Target:
public boolean isValidXGerritAuth ( java.lang.String keyIn ) { return keyIn.equals ( getXGerritAuth ( ) ) ; }
Source:
private com.google.gerrit.server.account.AccountState toAccountState ( org.apache.lucene.document.Document doc ) { com.google.gerrit.reviewdb.client.Account.Id id = new com.google.gerrit.reviewdb.client.Account.Id ( doc.getField ( com.google.gerrit.server.index.account.AccountField.ID.getName ( ) ) . numericValue ( ) . intValue ( ) ) ; return accountCache.get ( ) . get ( id ) ; }

Target:
protected com.google.gerrit.server.account.AccountState fromDocument ( org.apache.lucene.document.Document doc ) { com.google.gerrit.reviewdb.client.Account.Id id = new com.google.gerrit.reviewdb.client.Account.Id ( doc.getField ( com.google.gerrit.server.index.account.AccountField.ID.getName ( ) ) . numericValue ( ) . intValue ( ) ) ; return accountCache.get ( ) . get ( id ) ; }
Source:
public void rebase ( com.google.gerrit.extensions.api.changes.RebaseInput in ) throws com.google.gerrit.extensions.restapi.RestApiException { try { rebase.apply ( change , in ) ; } catch ( com.google.gerrit.common.errors.EmailException | com.google.gwtorm.server.OrmException | com.google.gerrit.server.update.UpdateException | java.io.IOException | com.google.gerrit.server.permissions.PermissionBackendException e ) { throw new com.google.gerrit.extensions.restapi.RestApiException ( "Cannot rebase change" , e ) ; } }

Target:
public void rebase ( com.google.gerrit.extensions.api.changes.RebaseInput in ) throws com.google.gerrit.extensions.restapi.RestApiException { try { rebase.apply ( change , in ) ; } catch ( java.lang.Exception e ) { throw com.google.gerrit.server.api.ApiUtil.asRestApiException ( "Cannot rebase change" , e ) ; } }
Source:
public abstract com.google.gerrit.server.mail.receive.MailMessage.Builder dateReceived ( org.joda.time.DateTime val ) ;

Target:
public abstract com.google.gerrit.server.mail.receive.MailMessage.Builder dateReceived ( java.time.Instant instant ) ;
Source:
private WorkQueue.Executor getExecutor ( ) { com.google.gerrit.server.git.WorkQueue.Executor executor ; if ( userProvider.get ( ) . isBatchUser ( ) ) { executor = queue.getBatchQueue ( ) ; } else { executor = queue.getInteractiveQueue ( ) ; } return executor ; }

Target:
private WorkQueue.Executor getExecutor ( ) { return queue.getQueue ( userProvider.get ( ) . getCapabilities ( ) . getQueueType ( ) ) ; }
Source:
public com.google.gerrit.server.project.ProjectState getParentState ( ) { if ( isAllProjects ) { return null ; } return projectCache.get ( getProject ( ) . getParent ( allProjectsName ) ) ; }

Target:
public java.util.Iterator < com.google.gerrit.server.project.ProjectState > iterator ( ) { return new com.google.gerrit.server.project.ProjectHierarchyIterator ( projectCache , allProjectsName , this ) ; }
Source:
com.google.gerrit.server.git.ReplaceOp create ( com.google.gerrit.server.util.RequestScopePropagator requestScopePropagator , com.google.gerrit.server.project.ProjectControl projectControl , boolean checkMergedInto , @ com.google.inject.assistedinject.Assisted ( value = "priorPatchSetId" ) com.google.gerrit.reviewdb.client.PatchSet.Id priorPatchSetId , @ com.google.inject.assistedinject.Assisted ( value = "priorCommit" ) org.eclipse.jgit.revwalk.RevCommit priorCommit , @ com.google.inject.assistedinject.Assisted ( value = "patchSetId" ) com.google.gerrit.reviewdb.client.PatchSet.Id patchSetId , @ com.google.inject.assistedinject.Assisted ( value = "commit" ) org.eclipse.jgit.revwalk.RevCommit commit , com.google.gerrit.reviewdb.client.PatchSetInfo info , java.util.List < java.lang.String > groups , @ com.google.gerrit.common.Nullable com.google.gerrit.server.git.ReceiveCommits.MagicBranchInput magicBranch , @ com.google.gerrit.common.Nullable org.eclipse.jgit.transport.PushCertificate pushCertificate ) ;

Target:
com.google.gerrit.server.git.ReplaceOp create ( com.google.gerrit.server.util.RequestScopePropagator requestScopePropagator , com.google.gerrit.server.project.ProjectControl projectControl , com.google.gerrit.reviewdb.client.Branch.NameKey dest , boolean checkMergedInto , @ com.google.inject.assistedinject.Assisted ( value = "priorPatchSetId" ) com.google.gerrit.reviewdb.client.PatchSet.Id priorPatchSetId , @ com.google.inject.assistedinject.Assisted ( value = "priorCommit" ) org.eclipse.jgit.revwalk.RevCommit priorCommit , @ com.google.inject.assistedinject.Assisted ( value = "patchSetId" ) com.google.gerrit.reviewdb.client.PatchSet.Id patchSetId , @ com.google.inject.assistedinject.Assisted ( value = "commit" ) org.eclipse.jgit.revwalk.RevCommit commit , com.google.gerrit.reviewdb.client.PatchSetInfo info , java.util.List < java.lang.String > groups , @ com.google.gerrit.common.Nullable com.google.gerrit.server.git.ReceiveCommits.MagicBranchInput magicBranch , @ com.google.gerrit.common.Nullable org.eclipse.jgit.transport.PushCertificate pushCertificate ) ;
Source:
protected void configureCommands ( ) { }

Target:
protected void configureCommands ( ) { command ( com.amd.gerrit.plugins.manifestsubscription.ShowSubscription.class ) ; }
Source:
com.googlesource.gerrit.plugins.webhooks.PostTask create ( @ com.google.inject.assistedinject.Assisted ( value = "url" ) java.lang.String url , com.googlesource.gerrit.plugins.webhooks.EventProcessor processor ) ;

Target:
com.googlesource.gerrit.plugins.webhooks.PostTask create ( com.google.gerrit.server.events.ProjectEvent event , com.googlesource.gerrit.plugins.webhooks.RemoteConfig remote ) ;
Source:
public void run ( ) { fixScroll ( cmB ) ; }

Target:
public void onKeyPress ( com.google.gwt.event.dom.client.KeyPressEvent event ) { upToChange ( ) . run ( ) ; }
Source:
public void destroySite ( ) throws java.lang.Exception { if ( ( sitePath ) != null ) { com.google.gerrit.testutil.TempFileUtil.cleanup ( ) ; } }

Target:
public void tearDown ( ) throws java.lang.Exception { com.google.gerrit.testutil.TempFileUtil.cleanup ( ) ; }
Source:
public void onKeyPress ( com.google.gwt.event.dom.client.KeyPressEvent event ) { if ( ( event.getNativeEvent ( ) . getKeyCode ( ) ) == ( com.google.gwt.event.dom.client.KeyCodes.KEY_ENTER ) ) { doSetUserName ( ) ; } }

Target:
public void onKeyPress ( com.google.gwt.event.dom.client.KeyPressEvent event ) { if ( ( event.getNativeEvent ( ) . getKeyCode ( ) ) == ( com.google.gwt.event.dom.client.KeyCodes.KEY_ENTER ) ) { confirmSetUserName ( ) ; } }
Source:
public void shouldDeleteFromIndexInRemoteOnChangeDeletedEvent ( ) throws java.lang.Exception { indexEventHandler.onChangeDeleted ( id.get ( ) ) ; org.mockito.Mockito.verify ( restSessionMock ) . deleteFromIndex ( com.ericsson.gerrit.plugins.syncindex.IndexEventHandlerTest.CHANGE_ID ) ; }

Target:
public void shouldDeleteFromIndexInRemoteOnChangeDeletedEvent ( ) throws java.lang.Exception { indexEventHandler.onChangeDeleted ( id.get ( ) ) ; org.mockito.Mockito.verify ( restSessionMock ) . deleteFromIndex ( com.ericsson.gerrit.plugins.multimaster.IndexEventHandlerTest.CHANGE_ID ) ; }
Source:
java.lang.String getContentType ( ) { return getContentType ( diff.meta_b ( ) ) ; }

Target:
java.lang.String getContentType ( ) { return getContentType ( diff.metaB ( ) ) ; }
Source:
public com.google.gerrit.server.patch.FileList call ( ) throws java.lang.Exception { com.google.gerrit.server.patch.PatchList patchList = patchListCache.get ( key , project ) ; return com.google.gerrit.server.patch.FileListLoader.toFileList ( patchList ) ; }

Target:
public com.google.gerrit.server.patch.DiffSummary call ( ) throws java.lang.Exception { com.google.gerrit.server.patch.PatchList patchList = patchListCache.get ( key , project ) ; return com.google.gerrit.server.patch.DiffSummaryLoader.toDiffSummary ( patchList ) ; }
Source:
public void testBadEventAndNotForwarded ( ) throws java.lang.Exception { setUpMocks ( false , false ) ; eventHandler.onEvent ( event ) ; verifyAll ( ) ; }

Target:
public void testBadEventAndNotForwarded ( ) throws java.lang.Exception { setUpMocks ( false ) ; eventHandler.onEvent ( event ) ; org.mockito.Mockito.verifyZeroInteractions ( restSession ) ; }
Source:
public void onSuccess ( final com.google.gerrit.common.data.ProjectDetail result ) { enableForm ( result.canModifyAgreements , result.canModifyDescription , result.canModifyMergeType , result.canModifyState ) ; display ( result ) ; }

Target:
public void onSuccess ( final com.google.gerrit.common.data.ProjectDetail result ) { enableForm ( result.canModifyAgreements , result.canModifyDescription , result.canModifyMergeType , result.canModifyState , result.canModifyMaxObjectSizeLimit ) ; display ( result ) ; }
Source:
public void onKeyPress ( com.google.gwt.event.dom.client.KeyPressEvent event ) { if ( ( event.getNativeEvent ( ) . getKeyCode ( ) ) == ( com.google.gwt.event.dom.client.KeyCodes.KEY_ENTER ) ) { doAddNewBranch ( ) ; } }

Target:
public void preDisplay ( final com.google.gwt.core.client.JsArray < com.google.gerrit.client.projects.BranchInfo > result ) { enableForm ( true ) ; display ( com.google.gerrit.client.rpc.Natives.asList ( result ) ) ; }
Source:
void onUpdate ( org.eclipse.jgit.lib.ObjectId newNotesRev , java.util.Collection < com.google.gerrit.server.account.externalids.ExternalId > extId ) throws java.io.IOException ;

Target:
void onRemoveByKeys ( org.eclipse.jgit.lib.ObjectId oldNotesRev , org.eclipse.jgit.lib.ObjectId newNotesRev , java.util.Collection < com.google.gerrit.server.account.externalids.ExternalId.Key > extIdKeys ) throws java.io.IOException ;
Source:
public final void insert ( final java.lang.Iterable < E > instances , final com.google.gwtorm.client.Transaction txn ) throws com.google.gwtorm.client.OrmException { if ( txn != null ) { cast ( txn ) . queueInsert ( this , instances ) ; } else { insert ( instances ) ; } }

Target:
public final void delete ( final java.lang.Iterable < E > instances ) throws com.google.gwtorm.client.OrmException { doDelete ( instances ) ; }
Source:
void setCurrentUrl ( com.google.gerrit.client.changes.DownloadUrlLink link ) { urls.setVisible ( true ) ; copyLabel.setText ( ( "git pull " + ( link.urlData ) ) ) ; }

Target:
protected void setCurrentUrl ( com.google.gerrit.client.download.DownloadUrlLink link ) { urls.setVisible ( true ) ; copyLabel.setText ( ( "git pull " + ( link.getUrlData ( ) ) ) ) ; }
Source:
protected boolean removeEldestEntry ( final java.util.Map.Entry < java.lang.Object , com.google.gerrit.client.ui.Screen > eldest ) { return 3 <= ( size ( ) ) ; }

Target:
public void onSuccess ( final com.google.gerrit.client.data.GerritConfig result ) { com.google.gerrit.client.rpc.Common.setGerritConfig ( result ) ; onModuleLoad2 ( ) ; }
Source:
private com.google.gerrit.extensions.api.changes.ReviewInput createComment ( final java.lang.String commentTemplate ) { return new com.google.gerrit.extensions.api.changes.ReviewInput ( ) . message ( getCommentFromFile ( commentTemplate ) ) ; }

Target:
private com.google.gerrit.extensions.api.changes.ReviewInput createComment ( final java.lang.String commentTemplate ) { return new com.google.gerrit.extensions.api.changes.ReviewInput ( ) . message ( ( ( com.criteo.gerrit.plugins.automerge.ReviewUpdater.commentsPrefix ) + ( getCommentFromFile ( commentTemplate ) ) ) ) ; }
Source:
void delete ( org.apache.lucene.index.Term term ) throws java.io.IOException { writer.deleteDocuments ( term ) ; }

Target:
com.google.common.util.concurrent.ListenableFuture < java.lang.Void > delete ( org.apache.lucene.index.Term term ) throws java.io.IOException { return new com.google.gerrit.lucene.SubIndex.NrtFuture ( writer.deleteDocuments ( term ) ) ; }
Source:
public static com.google.gerrit.client.rpc.RestApi project ( com.google.gerrit.reviewdb.client.Project.NameKey name ) { return new com.google.gerrit.client.rpc.RestApi ( "projects" ) . id ( name.get ( ) ) ; }

Target:
public static com.google.gerrit.client.rpc.RestApi project ( com.google.gerrit.reviewdb.client.Project.NameKey name ) { return new com.google.gerrit.client.rpc.RestApi ( "/projects/" ) . id ( name.get ( ) ) ; }
Source:
public void visit ( org.pegdown.ast.TableHeaderNode node ) { com.google.common.base.Preconditions.checkState ( ( ( table ) != null ) , "%s must be in table" , node ) ; table.inHeader = true ; wrapChildren ( "thead" , node ) ; table.inHeader = false ; }

Target:
private void mustBeInsideTable ( org.pegdown.ast.Node node ) { com.google.common.base.Preconditions.checkState ( ( ( table ) != null ) , "%s must be in table" , node ) ; }
Source:
private void postInitPlugins ( ) throws java.lang.Exception { for ( com.google.gerrit.pgm.init.InitStep initStep : pluginLoader.getInitSteps ( ) ) { initStep.postRun ( ) ; } }

Target:
private void postInitPlugins ( ) throws java.lang.Exception { for ( com.google.gerrit.pgm.init.InitStep initStep : pluginLoader.getInitSteps ( ) ) { postRunInjector.injectMembers ( initStep ) ; initStep.postRun ( ) ; } }
Source:
public void throwBadRequestTriggerOnBadQuery ( ) throws com.ericsson.gerrit.plugins.eventslog.MalformedQueryException { java.lang.String badQuery = "bad query" ; easyMock.resetAll ( ) ; easyMock.replayAll ( ) ; store.queryChangeEvents ( badQuery ) ; easyMock.verifyAll ( ) ; }

Target:
public void throwBadRequestTriggerOnBadQuery ( ) throws com.ericsson.gerrit.plugins.eventslog.MalformedQueryException { setUpClient ( ) ; java.lang.String badQuery = "bad query" ; easyMock.resetAll ( ) ; easyMock.replayAll ( ) ; store.queryChangeEvents ( badQuery ) ; easyMock.verifyAll ( ) ; }
Source:
public void listBranchesOfEmptyProject ( ) throws java.lang.Exception { com.google.gerrit.acceptance.rest.project.BranchAssert.assertBranches ( com.google.common.collect.ImmutableList.of ( com.google.gerrit.acceptance.rest.project.ListBranchesIT.branch ( "HEAD" , null , false ) , com.google.gerrit.acceptance.rest.project.ListBranchesIT.branch ( "refs/meta/config" , null , false ) ) , list ( ) . get ( ) ) ; }

Target:
public void listBranchesOfEmptyProject ( ) throws java.lang.Exception { com.google.gerrit.acceptance.rest.project.BranchAssert.assertBranches ( com.google.common.collect.ImmutableList.of ( com.google.gerrit.acceptance.rest.project.ListBranchesIT.branch ( "HEAD" , null , false ) , com.google.gerrit.acceptance.rest.project.ListBranchesIT.branch ( RefNames.REFS_CONFIG , null , false ) ) , list ( ) . get ( ) ) ; }
Source:
public void currentAndAll ( ) { assertIllegalArgument ( ( ( ( com.google.gerrit.testutil.IndexVersions.CURRENT ) + "," ) + ( com.google.gerrit.testutil.IndexVersions.ALL ) ) , ( "Invalid value for test: " + ( com.google.gerrit.testutil.IndexVersions.ALL ) ) ) ; }

Target:
public void currentAndAll ( ) { assertIllegalArgument ( ( ( ( com.google.gerrit.testing.IndexVersions.CURRENT ) + "," ) + ( com.google.gerrit.testing.IndexVersions.ALL ) ) , ( "Invalid value for test: " + ( com.google.gerrit.testing.IndexVersions.ALL ) ) ) ; }
Source:
public void fill ( java.util.Collection < ? extends com.google.gerrit.server.change.AccountInfo > infos ) throws com.google.gwtorm.server.OrmException { for ( com.google.gerrit.server.change.AccountInfo info : infos ) { put ( info ) ; } fill ( ) ; }

Target:
public void fill ( java.util.Collection < ? extends com.google.gerrit.server.account.AccountInfo > infos ) throws com.google.gwtorm.server.OrmException { for ( com.google.gerrit.server.account.AccountInfo info : infos ) { put ( info ) ; } fill ( ) ; }
Source:
void onRemoveByKeys ( 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 > extIdKeys ) throws java.io.IOException ;

Target:
void onReplace ( org.eclipse.jgit.lib.ObjectId oldNotesRev , org.eclipse.jgit.lib.ObjectId newNotesRev , java.util.Collection < com.google.gerrit.server.account.externalids.ExternalId > toRemove , java.util.Collection < com.google.gerrit.server.account.externalids.ExternalId > toAdd ) throws java.io.IOException ;
Source:
public static org.eclipse.jgit.lib.Config defaultConfig ( ) { return com.google.gerrit.server.notedb.NotesMigration.allEnabledConfig ( ) ; }

Target:
public void before ( ) { com.google.common.truth.TruthJUnit.assume ( ) . that ( notesMigration.enabled ( ) ) . isTrue ( ) ; }
Source:
public static java.lang.String cleanupHashtag ( java.lang.String hashtag ) { hashtag = com.google.gerrit.server.change.HashtagsUtil.LEADER.trimLeadingFrom ( hashtag ) ; hashtag = com.google.common.base.CharMatcher.WHITESPACE.trimTrailingFrom ( hashtag ) ; return hashtag ; }

Target:
public static java.lang.String cleanupHashtag ( java.lang.String hashtag ) { hashtag = com.google.gerrit.server.change.HashtagsUtil.LEADER.trimLeadingFrom ( hashtag ) ; hashtag = com.google.common.base.CharMatcher.whitespace ( ) . trimTrailingFrom ( hashtag ) ; return hashtag ; }
Source:
public synchronized com.google.gerrit.testutil.FakeEmailSender.Message nextMessage ( ) { com.google.gerrit.testutil.FakeEmailSender.Message msg = peekMessage ( ) ; ( messagesRead ) ++ ; return msg ; }

Target:
public synchronized com.google.gerrit.testing.FakeEmailSender.Message nextMessage ( ) { com.google.gerrit.testing.FakeEmailSender.Message msg = peekMessage ( ) ; ( messagesRead ) ++ ; return msg ; }
Source:
static com.google.gerrit.server.patch.PatchListEntry empty ( final java.lang.String fileName ) { return new com.google.gerrit.server.patch.PatchListEntry ( com.google.gerrit.reviewdb.client.Patch.ChangeType.MODIFIED , com.google.gerrit.reviewdb.client.Patch.PatchType.UNIFIED , null , fileName , com.google.gerrit.server.patch.PatchListEntry.EMPTY_HEADER , java.util.Collections.< org.eclipse.jgit.diff.Edit > emptyList ( ) , 0 , 0 , 0 , 0 ) ; }

Target:
static com.google.gerrit.server.patch.PatchListEntry empty ( final java.lang.String fileName ) { return new com.google.gerrit.server.patch.PatchListEntry ( com.google.gerrit.reviewdb.client.Patch.ChangeType.MODIFIED , com.google.gerrit.reviewdb.client.Patch.PatchType.UNIFIED , null , fileName , com.google.gerrit.server.patch.PatchListEntry.EMPTY_HEADER , com.google.common.collect.ImmutableList.of ( ) , com.google.common.collect.ImmutableSet.of ( ) , 0 , 0 , 0 , 0 ) ; }
Source:
static void unmarkPrivate ( com.google.gerrit.reviewdb.client.Change.Id id , com.google.gwt.user.client.ui.Button ... draftButtons ) { com.google.gerrit.client.changes.ChangeApi.unmarkPrivate ( id.get ( ) , com.google.gerrit.client.change.ChangeActions.cs ( id , draftButtons ) ) ; }

Target:
static void markPrivate ( com.google.gerrit.reviewdb.client.Project.NameKey project , com.google.gerrit.reviewdb.client.Change.Id id , com.google.gwt.user.client.ui.Button ... draftButtons ) { com.google.gerrit.client.changes.ChangeApi.markPrivate ( project.get ( ) , id.get ( ) , com.google.gerrit.client.change.ChangeActions.cs ( project , id , draftButtons ) ) ; }
Source:
public void unblockLargerScope_Fails ( ) { com.google.gerrit.server.project.Util.block ( local , com.google.gerrit.common.data.Permission.PUSH , com.google.gerrit.server.group.SystemGroupBackend.ANONYMOUS_USERS , "refs/heads/master" ) ; com.google.gerrit.server.project.Util.allow ( local , com.google.gerrit.common.data.Permission.PUSH , com.google.gerrit.server.project.Util.DEVS , "refs/heads/*" ) ; com.google.gerrit.server.project.ProjectControl u = user ( local , com.google.gerrit.server.project.Util.DEVS ) ; assertCannotUpdate ( "refs/heads/master" , u ) ; }

Target:
public void unblockLargerScope_Fails ( ) { com.google.gerrit.server.project.testing.Util.block ( local , com.google.gerrit.common.data.Permission.PUSH , com.google.gerrit.server.group.SystemGroupBackend.ANONYMOUS_USERS , "refs/heads/master" ) ; com.google.gerrit.server.project.testing.Util.allow ( local , com.google.gerrit.common.data.Permission.PUSH , com.google.gerrit.server.project.testing.Util.DEVS , "refs/heads/*" ) ; com.google.gerrit.server.project.ProjectControl u = user ( local , com.google.gerrit.server.project.testing.Util.DEVS ) ; assertCannotUpdate ( "refs/heads/master" , u ) ; }
Source:
public java.lang.String [ ] getOwnerGroups ( com.google.gerrit.reviewdb.client.Project.NameKey project ) { return cfg.getStringList ( com.google.gerrit.server.config.RepositoryConfig.SECTION_NAME , findSubSection ( project.get ( ) ) , com.google.gerrit.server.config.RepositoryConfig.OWNER_GROUP_NAME ) ; }

Target:
public java.util.List < java.lang.String > getOwnerGroups ( com.google.gerrit.reviewdb.client.Project.NameKey project ) { return com.google.common.collect.ImmutableList.copyOf ( cfg.getStringList ( com.google.gerrit.server.config.RepositoryConfig.SECTION_NAME , findSubSection ( project.get ( ) ) , com.google.gerrit.server.config.RepositoryConfig.OWNER_GROUP_NAME ) ) ; }
Source:
private static boolean isGoogleAccount ( final com.dyuproject.openid.OpenIdUser user ) { return user.getIdentity ( ) . startsWith ( GoogleAccountDiscovery.GOOGLE_ACCOUNT ) ; }

Target:
private static boolean isGoogleAccount ( final com.dyuproject.openid.OpenIdUser user ) { return user.getIdentity ( ) . startsWith ( ( ( com.google.gerrit.client.openid.OpenIdUtil.URL_GOOGLE ) + "?" ) ) ; }
Source:
public com.google.gerrit.server.project.ProjectResource parse ( java.lang.String id ) throws com.google.gerrit.extensions.restapi.UnprocessableEntityException , java.io.IOException { com.google.gerrit.server.project.ProjectResource rsrc = _parse ( id ) ; if ( rsrc == null ) { throw new com.google.gerrit.extensions.restapi.UnprocessableEntityException ( java.lang.String.format ( "Project Not Found: %s" , id ) ) ; } return rsrc ; }

Target:
public com.google.gerrit.server.project.ProjectResource parse ( java.lang.String id , boolean checkVisibility ) throws com.google.gerrit.extensions.restapi.UnprocessableEntityException , java.io.IOException { com.google.gerrit.server.project.ProjectResource rsrc = _parse ( id , checkVisibility ) ; if ( rsrc == null ) { throw new com.google.gerrit.extensions.restapi.UnprocessableEntityException ( java.lang.String.format ( "Project Not Found: %s" , id ) ) ; } return rsrc ; }
Source:
private boolean isEmpty ( ) { if ( ! ( migration.writeChanges ( ) ) ) { return true ; } return ( changeUpdates.isEmpty ( ) ) && ( draftUpdates.isEmpty ( ) ) ; }

Target:
private boolean isEmpty ( ) { if ( ! ( migration.writeChanges ( ) ) ) { return true ; } return ( ( changeUpdates.isEmpty ( ) ) && ( draftUpdates.isEmpty ( ) ) ) && ( toDelete.isEmpty ( ) ) ; }
Source:
public static void addSshKey ( java.lang.String account , java.lang.String sshPublicKey , com.google.gwt.user.client.rpc.AsyncCallback < com.google.gerrit.client.account.SshKeyInfo > cb ) { new com.google.gerrit.client.rpc.RestApi ( "/accounts/" ) . id ( account ) . view ( "sshkeys" ) . post ( sshPublicKey , cb ) ; }

Target:
public static void addSshKey ( java.lang.String account , java.lang.String sshPublicKey , com.google.gwt.user.client.rpc.AsyncCallback < com.google.gerrit.client.account.SshKeyInfo > cb ) { com.google.gerrit.client.account.AccountApi.accounts ( ) . id ( account ) . view ( "sshkeys" ) . post ( sshPublicKey , cb ) ; }
Source:
public java.lang.String toString ( ) { return name ( ) . toLowerCase ( ) ; }

Target:
public com.googlesrouce.gerrit.plugins.github.git.GitJobStatus.Code getStatus ( ) { return status ; }
Source:
public void defaultGpgCertificationDoesNotMatchEmail ( ) throws java.lang.Exception { addExternalId ( "test" , "test" , "nobody@example.com" ) ; assertProblems ( com.google.gerrit.gpg.testutil.TestKey.key5 ( ) , ( "Key must contain a valid certification for one of the following " + ( ( ( ( "identities:\n" + " gerrit:user\n" ) + " nobody@example.com\n" ) + " test:test\n" ) + " username:user" ) ) ) ; }

Target:
public void defaultGpgCertificationDoesNotMatchEmail ( ) throws java.lang.Exception { addExternalId ( "test" , "test" , "nobody@example.com" ) ; assertProblems ( com.google.gerrit.gpg.testutil.TestKeys.key5 ( ) , ( "Key must contain a valid certification for one of the following " + ( ( ( ( "identities:\n" + " gerrit:user\n" ) + " nobody@example.com\n" ) + " test:test\n" ) + " username:user" ) ) ) ; }
Source:
public static java.lang.String toPatchSideBySide ( final com.google.gerrit.reviewdb.Patch.Key id ) { return com.google.gerrit.client.HistoryHandler.toPatch ( "sidebyside" , id ) ; }

Target:
public static java.lang.String toPatchSideBySide ( final com.google.gerrit.reviewdb.Patch.Key id ) { return com.google.gerrit.client.Dispatcher.toPatch ( "sidebyside" , id ) ; }
Source:
public void onKeyPress ( com.google.gwt.event.dom.client.KeyPressEvent event ) { if ( ( event.getCharCode ( ) ) == ( com.google.gwt.event.dom.client.KeyCodes.KEY_ENTER ) ) { addMember.fireEvent ( new com.google.gwt.event.dom.client.ClickEvent ( ) { } ) ; } }

Target:
private void doAdd ( ) { addMember.fireEvent ( new com.google.gwt.event.dom.client.ClickEvent ( ) { } ) ; }
Source:
public com.google.common.base.Optional < com.google.gerrit.server.plugins.PluginEntry > getEntry ( java.lang.String resourcePath ) { return com.google.common.base.Optional.absent ( ) ; }

Target:
public java.util.Optional < com.google.gerrit.server.plugins.PluginEntry > getEntry ( java.lang.String resourcePath ) { return java.util.Optional.empty ( ) ; }
Source:
private static java.lang.String encodeBase64 ( final byte [ ] buf ) { return com.google.gwtjsonrpc.server.XsrfUtil.toString ( org.apache.commons.codec.binary.Base64.encodeBase64 ( buf ) ) ; }

Target:
private static java.lang.String encodeBase64 ( final byte [ ] buf ) { return com.google.gwtjsonrpc.server.SignedToken.toString ( org.apache.commons.codec.binary.Base64.encodeBase64 ( buf ) ) ; }
Source:
public java.lang.String getRefName ( ) { return com.google.gerrit.server.edit.ChangeEditUtil.editRefName ( user.getAccountId ( ) , change.getId ( ) ) ; }

Target:
public java.lang.String getRefName ( ) { return com.google.gerrit.server.edit.ChangeEditUtil.editRefName ( user.getAccountId ( ) , change.getId ( ) , basePatchSet.getId ( ) ) ; }
Source:
public boolean canPublish ( final com.google.gerrit.reviewdb.server.ReviewDb db ) throws com.google.gwtorm.server.OrmException { return ( isOwner ( ) ) && ( isVisible ( db ) ) ; }

Target:
public boolean canDeleteDraft ( final com.google.gerrit.reviewdb.server.ReviewDb db ) throws com.google.gwtorm.server.OrmException { return ( ( isOwner ( ) ) || ( getRefControl ( ) . canDeleteDrafts ( ) ) ) && ( isVisible ( db ) ) ; }
Source:
public abstract boolean rebuildProject ( com.google.gerrit.reviewdb.server.ReviewDb db , com.google.common.collect.ImmutableMultimap < com.google.gerrit.reviewdb.client.Project.NameKey , com.google.gerrit.reviewdb.client.Change.Id > allChanges , com.google.gerrit.reviewdb.client.Project.NameKey project , org.eclipse.jgit.lib.Repository allUsersRepo ) throws com.google.gerrit.server.project.NoSuchChangeException , com.google.gwtorm.server.OrmException , java.io.IOException , org.eclipse.jgit.errors.ConfigInvalidException ;

Target:
public abstract void buildUpdates ( com.google.gerrit.server.notedb.NoteDbUpdateManager manager , com.google.gerrit.server.notedb.ChangeBundle bundle ) throws com.google.gwtorm.server.OrmException , java.io.IOException ;
Source:
public com.googlecode.prolog_cafe.lang.NumberTerm not ( ) { throw new com.googlecode.prolog_cafe.lang.IllegalTypeException ( "integer" , this ) ; }

Target:
public com.googlecode.prolog_cafe.lang.NumberTerm not ( ) { throw new com.googlecode.prolog_cafe.exceptions.IllegalTypeException ( "integer" , this ) ; }
Source:
protected void configure ( ) { bind ( com.google.gerrit.server.ssh.GerritSshDaemon.class ) ; bind ( org.apache.sshd.server.CommandFactory.class ) . to ( com.google.gerrit.server.ssh.GerritCommandFactory.class ) ; }

Target:
protected void configure ( ) { bind ( com.google.gerrit.server.ssh.GerritSshDaemon.class ) ; bind ( org.apache.sshd.server.CommandFactory.class ) . to ( com.google.gerrit.server.ssh.GerritCommandFactory.class ) ; bind ( org.apache.sshd.server.PublickeyAuthenticator.class ) . to ( com.google.gerrit.server.ssh.DatabasePubKeyAuth.class ) ; }
Source:
protected com.google.gerrit.server.query.Predicate < T > defaultField ( java.lang.String value ) throws com.google.gerrit.index.query.QueryParseException { throw com.google.gerrit.server.query.QueryBuilder.error ( ( "Unsupported query:" + value ) ) ; }

Target:
protected com.google.gerrit.index.query.Predicate < T > defaultField ( java.lang.String value ) throws com.google.gerrit.index.query.QueryParseException { throw com.google.gerrit.index.query.QueryBuilder.error ( ( "Unsupported query:" + value ) ) ; }
Source:
public boolean updateUserModels ( java.util.Collection < com.gitblit.models.UserModel > models ) { return false ; }

Target:
public boolean updateTeamModels ( java.util.Collection < com.gitblit.models.TeamModel > arg0 ) { return false ; }
Source:
void evict ( com.google.gerrit.reviewdb.client.AccountGroup group ) throws java.io.IOException ;

Target:
void evict ( com.google.gerrit.reviewdb.client.AccountGroup.UUID groupUuid , com.google.gerrit.reviewdb.client.AccountGroup.Id groupId , com.google.gerrit.reviewdb.client.AccountGroup.NameKey groupName ) throws java.io.IOException ;
Source:
public java.util.List < com.googlesrouce.gerrit.plugins.github.git.GHIssue > getIssues ( com.googlesrouce.gerrit.plugins.github.git.GHIssueState state ) throws java.io.IOException { return ghRepository.getIssues ( state ) ; }

Target:
public java.util.List < com.googlesource.gerrit.plugins.github.git.GHIssue > getIssues ( com.googlesource.gerrit.plugins.github.git.GHIssueState state ) throws java.io.IOException { return ghRepository.getIssues ( state ) ; }
Source:
protected void format ( ) throws com.google.gerrit.common.errors.EmailException { appendText ( textTemplate ( "AddKey" ) ) ; appendHtml ( soyHtmlTemplate ( "AddKeyHtml" ) ) ; }

Target:
protected void format ( ) throws com.google.gerrit.common.errors.EmailException { appendText ( textTemplate ( "AddKey" ) ) ; if ( useHtml ( ) ) { appendHtml ( soyHtmlTemplate ( "AddKeyHtml" ) ) ; } }
Source:
public void run ( ) { skipManager.removeAll ( ) ; skipManager.render ( context , diff ) ; }

Target:
public void run ( ) { skipManager.removeAll ( ) ; skipManager.render ( context , diff ) ; updateRenderEntireFile ( ) ; }
Source:
public java.lang.String toString ( ) { return com.google.common.base.Objects.toStringHelper ( "index" ) . add ( "p" , pred ) . add ( "limit" , limit ) . toString ( ) ; }

Target:
public java.lang.String toString ( ) { return com.google.common.base.MoreObjects.toStringHelper ( "index" ) . add ( "p" , pred ) . add ( "limit" , limit ) . toString ( ) ; }
Source:
protected void onOpenRow ( final int row ) { super . onOpenRow ( row ) ; nameBox.setText ( getRowItem ( row ) . getName ( ) ) ; doAddNew ( ) ; }

Target:
protected void onMovePointerTo ( java.lang.String projectName ) { if ( ( ! ( projectsPopup.isPopingUp ( ) ) ) || ( "" . equals ( nameBox.getText ( ) ) ) ) { nameBox.setText ( projectName ) ; } }
Source:
static com.google.gerrit.server.git.PerThreadRequestScope set ( com.google.gerrit.server.git.PerThreadRequestScope ctx ) { com.google.gerrit.server.git.PerThreadRequestScope old = com.google.gerrit.server.git.PerThreadRequestScope.current.get ( ) ; com.google.gerrit.server.git.PerThreadRequestScope.current.set ( ctx ) ; return old ; }

Target:
public T call ( ) throws java.lang.Exception { com.google.gerrit.server.git.PerThreadRequestScope.Context old = com.google.gerrit.server.git.PerThreadRequestScope.current.get ( ) ; com.google.gerrit.server.git.PerThreadRequestScope.current.set ( ctx ) ; try { return wrapped.call ( ) ; } finally { com.google.gerrit.server.git.PerThreadRequestScope.current.set ( old ) ; } }
Source:
private java.lang.String pushTagForNewCommit ( com.google.gerrit.acceptance.rest.project.PushTagIT.TagType tagType , org.eclipse.jgit.transport.RemoteRefUpdate.Status expectedStatus ) throws java.lang.Exception { return pushTag ( tagType , true , expectedStatus ) ; }

Target:
private java.lang.String pushTagForExistingCommit ( com.google.gerrit.acceptance.rest.project.PushTagIT.TagType tagType , org.eclipse.jgit.transport.RemoteRefUpdate.Status expectedStatus ) throws java.lang.Exception { return pushTag ( tagType , null , false , expectedStatus ) ; }
Source:
HEAD ( com.google.gerrit.acceptance.git.c31a38 Fix ) { }

Target:
public void selectHttpUrl ( ) throws java.lang.Exception { org.eclipse.jgit.transport.CredentialsProvider.setDefault ( new org.eclipse.jgit.transport.UsernamePasswordCredentialsProvider ( admin.username , admin.httpPassword ) ) ; selectProtocol ( Protocol.HTTP ) ; }
Source:
public static com.google.gerrit.server.account.WatchConfig.NotifyValue create ( @ com.google.gerrit.common.Nullable java.lang.String filter , java.util.Collection < com.google.gerrit.server.account.WatchConfig.NotifyType > notifyTypes ) { return new com.google.gerrit.server.account.AutoValue_WatchConfig_NotifyValue ( com.google.common.base.Strings.emptyToNull ( filter ) , com.google.common.collect.Sets.immutableEnumSet ( notifyTypes ) ) ; }

Target:
public static com.google.gerrit.server.account.ProjectWatches.NotifyValue create ( @ com.google.gerrit.common.Nullable java.lang.String filter , java.util.Collection < com.google.gerrit.server.account.ProjectWatches.NotifyType > notifyTypes ) { return new com.google.gerrit.server.account.AutoValue_ProjectWatches_NotifyValue ( com.google.common.base.Strings.emptyToNull ( filter ) , com.google.common.collect.Sets.immutableEnumSet ( notifyTypes ) ) ; }
Source:
boolean matches ( org.eclipse.jgit.lib.Repository git ) throws java.io.IOException { return ! ( com.google.gerrit.sshd.commands.ListProjects.FilterType.PERMISSIONS.matches ( git ) ) ; }

Target:
boolean matches ( org.eclipse.jgit.lib.Repository git ) throws java.io.IOException { return ! ( com.google.gerrit.server.project.ListProjects.FilterType.PERMISSIONS.matches ( git ) ) ; }
Source:
protected abstract void authorizeUser ( com.google.gerrit.server.project.ProjectControl control ) throws org.eclipse.jgit.lfs.errors.LfsUnauthorized ;

Target:
protected abstract void authorizeUser ( com.google.gerrit.server.project.ProjectState state , com.google.gerrit.server.CurrentUser user ) throws org.eclipse.jgit.lfs.errors.LfsUnauthorized ;
Source:
void onSubmit ( @ java.lang.SuppressWarnings ( value = "unused" ) com.google.gwt.event.dom.client.ClickEvent e ) { com.google.gerrit.client.change.SubmitAction.call ( changeInfo , changeInfo.revision ( revision ) ) ; }

Target:
void onRenameFile ( @ java.lang.SuppressWarnings ( value = "unused" ) com.google.gwt.event.dom.client.ClickEvent e ) { renameFileAction.onRename ( ) ; }
Source:
public void insert ( java.lang.Iterable < T > instances ) throws com.google.gwtorm.client.OrmException { for ( T obj : instances ) { insertOne ( obj ) ; } maybeFlush ( ) ; }

Target:
public void insert ( java.lang.Iterable < T > instances ) throws com.google.gwtorm.client.OrmException { for ( T obj : instances ) { insertOne ( obj ) ; } db.flush ( ) ; }
Source:
private static java.lang.String findId ( final java.util.Collection < com.google.gerrit.reviewdb.AccountExternalId > ids ) { for ( final com.google.gerrit.reviewdb.AccountExternalId i : ids ) { if ( i.isScheme ( AccountExternalId.SCHEME_GERRIT ) ) { return i.getSchemeRest ( AccountExternalId.SCHEME_GERRIT ) ; } } return null ; }

Target:
private static java.lang.String findId ( final java.util.Collection < com.google.gerrit.reviewdb.AccountExternalId.AccountExternalId > ids ) { for ( final com.google.gerrit.reviewdb.AccountExternalId.AccountExternalId i : ids ) { if ( i.isScheme ( AccountExternalId.SCHEME_GERRIT ) ) { return i.getSchemeRest ( ) ; } } return null ; }
Source:
public void setTheme ( com.google.gerrit.reviewdb.client.AccountDiffPreference.Theme theme ) { this . theme = ( theme != null ) ? theme.name ( ) : null ; }

Target:
public void setTheme ( com.google.gerrit.extensions.common.Theme theme ) { this . theme = ( theme != null ) ? theme.name ( ) : null ; }
Source:
public void addGroup ( com.google.gerrit.reviewdb.client.AccountGroup.UUID id ) { groupsToInspect.add ( id ) ; }

Target:
void addGroup_Deprecated ( com.google.gerrit.reviewdb.client.AccountGroup.UUID uuid ) { addGroup ( uuid ) ; }
Source:
void apply ( com.google.gerrit.server.notedb.ChangeUpdate update ) throws com.google.gwtorm.server.OrmException { checkUpdate ( update ) ; update.setChangeMessage ( message.getMessage ( ) ) ; setTopic ( update ) ; }

Target:
void apply ( com.google.gerrit.server.notedb.ChangeUpdate update ) throws com.google.gwtorm.server.OrmException { checkUpdate ( update ) ; update.setChangeMessage ( message.getMessage ( ) ) ; setTopic ( update ) ; setStatus ( update ) ; }
Source:
public static void grant ( com.google.gerrit.server.git.ProjectConfig config , com.google.gerrit.common.data.AccessSection section , com.google.gerrit.common.data.LabelType type , int min , int max , com.google.gerrit.common.data.GroupReference ... groupList ) { com.google.gerrit.server.schema.AclUtil.grant ( config , section , type , min , max , false , groupList ) ; }

Target:
public static void grant ( com.google.gerrit.server.project.ProjectConfig config , com.google.gerrit.common.data.AccessSection section , com.google.gerrit.common.data.LabelType type , int min , int max , com.google.gerrit.common.data.GroupReference ... groupList ) { com.google.gerrit.server.schema.AclUtil.grant ( config , section , type , min , max , false , groupList ) ; }
Source:
private com.google.gerrit.server.notedb.ChangeUpdate newUpdate ( com.google.gerrit.reviewdb.client.Change c , final com.google.gerrit.server.IdentifiedUser user ) throws java.lang.Exception { return com.google.gerrit.testutil.TestChanges.newUpdate ( injector , repoManager , c , user ) ; }

Target:
private com.google.gerrit.server.notedb.ChangeUpdate newUpdate ( com.google.gerrit.reviewdb.client.Change c , final com.google.gerrit.server.IdentifiedUser user ) throws java.lang.Exception { return com.google.gerrit.testutil.TestChanges.newUpdate ( injector , repoManager , c , allUsers , user ) ; }
Source:
public void onSuccess ( final com.google.gerrit.client.reviewdb.Account result ) { if ( result != null ) { com.google.gerrit.client.Gerrit.postSignIn ( result , null ) ; } else { com.google.gwt.user.client.Cookies.removeCookie ( com.google.gerrit.client.Gerrit.ACCOUNT_COOKIE ) ; com.google.gerrit.client.Gerrit.refreshMenuBar ( ) ; } showInitialScreen ( ) ; }

Target:
public void onSuccess ( final com.google.gerrit.client.reviewdb.Account result ) { if ( result != null ) { com.google.gerrit.client.Gerrit.myAccount = result ; } else { com.google.gwt.user.client.Cookies.removeCookie ( com.google.gerrit.client.Gerrit.ACCOUNT_COOKIE ) ; } com.google.gerrit.client.Gerrit.refreshMenuBar ( ) ; showInitialScreen ( ) ; }
Source:
public void onClick ( final com.google.gwt.user.client.ui.Widget sender ) { doRegisterNewEmail ( ) ; }

Target:
public void onClick ( final com.google.gwt.event.dom.client.ClickEvent event ) { doRegisterNewEmail ( ) ; }
Source:
public < T > com.google.common.base.Optional < T > getResource ( java.lang.String resourcePath , java.lang.Class < ? extends T > resourceClass ) { return com.google.common.base.Optional.absent ( ) ; }

Target:
public java.io.InputStream getInputStream ( com.google.gerrit.server.plugins.PluginEntry entry ) throws java.io.IOException { throw new java.io.FileNotFoundException ( ) ; }
Source:
com.google.gerrit.sshd.SshScope.Context newContext ( com.google.gerrit.sshd.SshSession session , java.lang.String commandLine ) { return new com.google.gerrit.sshd.SshScope.Context ( session , commandLine , java.lang.System.currentTimeMillis ( ) ) ; }

Target:
com.google.gerrit.sshd.SshScope.Context newContext ( com.google.gwtorm.server.SchemaFactory < com.google.gerrit.reviewdb.server.ReviewDb > sf , com.google.gerrit.sshd.SshSession s , java.lang.String cmd ) { return new com.google.gerrit.sshd.SshScope.Context ( sf , s , cmd , java.lang.System.currentTimeMillis ( ) ) ; }
Source:
void inc ( java.lang.String name , org.objectweb.asm.Type ... args ) { mv.visitMethodInsn ( com.google.gwtorm.protobuf.INVOKESTATIC , com.google.gwtorm.protobuf.CodecGen.codedOutputStream.getInternalName ( ) , name , org.objectweb.asm.Type.getMethodDescriptor ( Type.INT_TYPE , args ) ) ; inc ( ) ; }

Target:
void doinc ( java.lang.String name , org.objectweb.asm.Type ... args ) { mv.visitMethodInsn ( com.google.gwtorm.protobuf.INVOKESTATIC , com.google.gwtorm.protobuf.CodecGen.codedOutputStream.getInternalName ( ) , name , org.objectweb.asm.Type.getMethodDescriptor ( Type.INT_TYPE , args ) ) ; doinc ( ) ; }