auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public void printJson ( java.io.PrintWriter out ) { new com.google.gson.Gson ( ) . toJson ( this , com.googlesrouce.gerrit.plugins.github.git.GitJobStatus.class , new com.google.gson.stream.JsonWriter ( out ) ) ; }

Target:
public void printJson ( java.io.PrintWriter out ) { new com.google.gson.Gson ( ) . toJson ( this , com.googlesource.gerrit.plugins.github.git.GitJobStatus.class , new com.google.gson.stream.JsonWriter ( out ) ) ; }
Source:
public java.lang.Object createEntry ( final java.lang.Object key ) throws java.lang.Exception { return lookup ( key ) ; }

Target:
public java.lang.Object createEntry ( final java.lang.Object key ) throws java.lang.Exception { return lookup ( ( ( com.google.gerrit.client.reviewdb.Project.NameKey ) ( key ) ) ) ; }
Source:
private java.util.List < com.google.gerrit.server.query.change.ChangeData > getForOpenChange ( com.google.gerrit.reviewdb.client.Change c ) throws com.google.gwtorm.server.OrmException , java.io.IOException { com.google.gerrit.server.git.ChangeSet cs = mergeSuperSet.completeChangeSet ( dbProvider.get ( ) , c ) ; return cs.changes ( ) . asList ( ) ; }

Target:
private java.util.List < com.google.gerrit.server.query.change.ChangeData > getForOpenChange ( com.google.gerrit.reviewdb.client.Change c , com.google.gerrit.server.CurrentUser user ) throws com.google.gwtorm.server.OrmException , java.io.IOException { com.google.gerrit.server.git.ChangeSet cs = mergeSuperSet.completeChangeSet ( dbProvider.get ( ) , c , user ) ; return cs.changes ( ) . asList ( ) ; }
Source:
void revertChange ( com.google.gerrit.reviewdb.client.PatchSet.Id patchSetId , java.lang.String message , com.google.gwtjsonrpc.common.AsyncCallback < com.google.gerrit.common.data.ChangeDetail > callback ) ;

Target:
void deleteDraftChange ( com.google.gerrit.reviewdb.client.PatchSet.Id patchSetId , com.google.gwtjsonrpc.common.AsyncCallback < com.google.gwtjsonrpc.common.VoidResult > callback ) ;
Source:
com.google.gerrit.server.project.ProjectRef getRuleProps ( com.google.gerrit.common.data.PermissionRule rule ) { return ruleProps.get ( rule ) ; }

Target:
com.google.gerrit.server.permissions.ProjectRef getRuleProps ( com.google.gerrit.common.data.PermissionRule rule ) { return ruleProps.get ( rule ) ; }
Source:
public boolean getIfPresent ( org.eclipse.jgit.lib.ObjectId commit , org.eclipse.jgit.lib.Ref intoRef , com.google.gerrit.extensions.common.SubmitType submitType , java.lang.String mergeStrategy ) { return cache.getIfPresent ( new com.google.gerrit.server.change.MergeabilityCacheImpl.EntryKey ( commit , com.google.gerrit.server.change.MergeabilityCacheImpl.toId ( intoRef ) , submitType , mergeStrategy ) ) ; }

Target:
public boolean getIfPresent ( org.eclipse.jgit.lib.ObjectId commit , org.eclipse.jgit.lib.Ref intoRef , com.google.gerrit.extensions.client.SubmitType submitType , java.lang.String mergeStrategy ) { return cache.getIfPresent ( new com.google.gerrit.server.change.MergeabilityCacheImpl.EntryKey ( commit , com.google.gerrit.server.change.MergeabilityCacheImpl.toId ( intoRef ) , submitType , mergeStrategy ) ) ; }
Source:
public void tearDown ( ) { com.google.gerrit.testutil.TestTimeUtil.useSystemTime ( ) ; java.lang.System.setProperty ( "user.timezone" , systemTimeZone ) ; }

Target:
public void tearDown ( ) { com.google.gerrit.testutil.TestTimeUtil.useSystemTime ( ) ; java.lang.System.setProperty ( "user.timezone" , systemTimeZoneProperty ) ; java.util.TimeZone.setDefault ( systemTimeZone ) ; }
Source:
private com.google.gerrit.server.query.change.ChangeData getChange ( com.google.gerrit.acceptance.GitUtil.Commit c ) throws com.google.gwtorm.server.OrmException { return com.google.common.collect.Iterables.getOnlyElement ( queryProvider.get ( ) . byKeyPrefix ( c.getChangeId ( ) ) ) ; }

Target:
private com.google.gerrit.server.query.change.ChangeData getChange ( org.eclipse.jgit.lib.ObjectId c ) throws com.google.gwtorm.server.OrmException { return com.google.common.collect.Iterables.getOnlyElement ( queryProvider.get ( ) . byCommit ( c ) ) ; }
Source:
private com.google.gerrit.server.change.ChangeJson changeJson ( ) { return changeJsonFactory.create ( java.util.EnumSet.noneOf ( com.google.gerrit.extensions.client.ListChangesOption.class ) ) ; }

Target:
private com.google.gerrit.server.change.ChangeJson changeJson ( ) { return changeJsonFactory.noOptions ( ) ; }
Source:
public void onSuccess ( com.google.gerrit.client.changes.ChangeInfo result ) { changeToProject.put ( id , result.project ( ) ) ; getImpl ( result.project ( ) , cb ) ; }

Target:
public void onSuccess ( com.google.gerrit.client.info.ChangeInfo result ) { changeToProject.put ( id , result.project ( ) ) ; getImpl ( result.project ( ) , cb ) ; }
Source:
private static void assertChildren ( java.lang.String o , com.google.gerrit.server.query.Predicate < java.lang.String > p , java.util.List < ? extends com.google.gerrit.server.query.Predicate < java.lang.String > > l ) { org.junit.Assert.assertEquals ( ( o + " did not affect child" ) , l , p.getChildren ( ) ) ; }

Target:
private static void assertChildren ( java.lang.String o , com.google.gerrit.index.query.Predicate < java.lang.String > p , java.util.List < ? extends com.google.gerrit.index.query.Predicate < java.lang.String > > l ) { org.junit.Assert.assertEquals ( ( o + " did not affect child" ) , l , p.getChildren ( ) ) ; }
Source:
public java.lang.String getReplacementString ( ) { return com.google.gerrit.client.FormatUtil.nameEmail ( info ) ; }

Target:
public java.lang.String getReplacementString ( ) { return com.google.gerrit.client.FormatUtil.nameEmail ( com.google.gerrit.client.FormatUtil.asInfo ( info ) ) ; }
Source:
public static com.google.gerrit.client.rpc.RestApi self ( ) { return com.google.gerrit.client.account.AccountApi.accounts ( ) . view ( "self" ) ; }

Target:
public static com.google.gerrit.client.rpc.RestApi self ( ) { return new com.google.gerrit.client.rpc.RestApi ( "/accounts/" ) . view ( "self" ) ; }
Source:
public void onClick ( com.google.gwt.event.dom.client.ClickEvent event ) { rights.showInherited ( show.isChecked ( ) ) ; }

Target:
public void onClick ( com.google.gwt.event.dom.client.ClickEvent event ) { rights.showInherited ( showInherited.isChecked ( ) ) ; }
Source:
public static java.lang.String getUserName ( java.util.Collection < com.google.gerrit.reviewdb.client.AccountExternalId > ids ) { for ( com.google.gerrit.reviewdb.client.AccountExternalId id : ids ) { if ( id.isScheme ( com.google.gerrit.reviewdb.client.AccountExternalId.SCHEME_USERNAME ) ) { return id.getSchemeRest ( ) ; } } return null ; }

Target:
public static java.lang.String getUserName ( java.util.Collection < com.google.gerrit.server.account.ExternalId > ids ) { for ( com.google.gerrit.server.account.ExternalId extId : ids ) { if ( extId.isScheme ( com.google.gerrit.server.account.ExternalId.SCHEME_USERNAME ) ) { return extId.key ( ) . id ( ) ; } } return null ; }
Source:
public com.google.gerrit.server.notedb.NotesMigration setFrom ( com.google.gerrit.server.notedb.NotesMigration other ) { throw new java.lang.UnsupportedOperationException ( ( ( getClass ( ) . getSimpleName ( ) ) + " is read-only" ) ) ; }

Target:
public void configure ( ) { bind ( com.google.gerrit.server.notedb.MutableNotesMigration.class ) ; bind ( com.google.gerrit.server.notedb.NotesMigration.class ) . to ( com.google.gerrit.server.notedb.MutableNotesMigration.class ) ; }
Source:
private final native com.google.gerrit.client.rpc.NativeMap < com.google.gwt.core.client.JavaScriptObject > _permitted_labels ( ) ;

Target:
private final native java.lang.String dateRaw ( ) ;
Source:
public void onSuccess ( com.google.gerrit.client.diff.DiffInfo info ) { new net.codemirror.mode.ModeInjector ( ) . add ( getContentType ( info.meta_a ( ) ) ) . add ( getContentType ( info.meta_b ( ) ) ) . inject ( com.google.gerrit.client.rpc.CallbackGroup.< java.lang.Void > emptyCallback ( ) ) ; }

Target:
public void onSuccess ( com.google.gerrit.client.diff.DiffInfo info ) { new net.codemirror.mode.ModeInjector ( ) . add ( getContentType ( info.metaA ( ) ) ) . add ( getContentType ( info.metaB ( ) ) ) . inject ( com.google.gerrit.client.rpc.CallbackGroup.< java.lang.Void > emptyCallback ( ) ) ; }
Source:
private void failAndThrow ( java.lang.RuntimeException e ) { fail ( e ) ; throw e ; }

Target:
private void failAndThrow ( java.lang.Error e ) { fail ( e ) ; throw e ; }
Source:
public com.google.common.util.concurrent.CheckedFuture < java.lang.Boolean , java.io.IOException > updateAsync ( com.google.gerrit.reviewdb.client.Change change ) { return com.google.common.util.concurrent.Futures.makeChecked ( executor.submit ( new com.google.gerrit.server.change.MergeabilityChecker.ChangeUpdateTask ( schemaFactory , change ) ) , com.google.gerrit.server.change.MergeabilityChecker.MAPPER ) ; }

Target:
private com.google.common.util.concurrent.CheckedFuture < java.lang.Boolean , java.io.IOException > updateAsync ( com.google.gerrit.reviewdb.client.Change change , boolean force ) { return com.google.common.util.concurrent.Futures.makeChecked ( executor.submit ( new com.google.gerrit.server.change.MergeabilityChecker.ChangeUpdateTask ( schemaFactory , change , force ) ) , com.google.gerrit.server.change.MergeabilityChecker.MAPPER ) ; }
Source:
Account.Id getAuthorId ( ) { return comment.getAuthor ( ) ; }

Target:
Account.Id getAuthorId ( ) { return comment.author.getId ( ) ; }
Source:
private boolean isEnum ( final org.kohsuke.args4j.spi.Setter setter ) { return java.lang.Enum.class . isAssignableFrom ( setter.getType ( ) ) ; }

Target:
private < T > boolean isEnum ( org.kohsuke.args4j.spi.Setter < T > setter ) { return java.lang.Enum.class . isAssignableFrom ( setter.getType ( ) ) ; }
Source:
private boolean canEditAssignee ( ) { return ( ( ( isOwner ( ) ) || ( getProjectControl ( ) . isOwner ( ) ) ) || ( refControl.canEditAssignee ( ) ) ) || ( isAssignee ( ) ) ; }

Target:
private boolean canEditAssignee ( ) { return ( ( ( isOwner ( ) ) || ( getProjectControl ( ) . isOwner ( ) ) ) || ( refControl.canPerform ( Permission.EDIT_ASSIGNEE ) ) ) || ( isAssignee ( ) ) ; }
Source:
public void createBranchByAdminCreateReferenceBlocked_Forbidden ( ) throws java.lang.Exception { blockCreateReference ( ) ; assertCreateFails ( com.google.gerrit.extensions.restapi.AuthException.class , "create not permitted for refs/heads/test" ) ; }

Target:
public void createBranchByAdminCreateReferenceBlocked_Forbidden ( ) throws java.lang.Exception { blockCreateReference ( ) ; assertCreateFails ( testBranch , com.google.gerrit.extensions.restapi.AuthException.class , "create not permitted for refs/heads/test" ) ; }
Source:
public void onSuccess ( com.google.gerrit.client.rpc.NativeMap < com.google.gwt.core.client.JsArray < com.google.gerrit.client.changes.CommentInfo > > m ) { drafts = m.get ( path ) ; }

Target:
public void onSuccess ( com.google.gerrit.client.rpc.NativeMap < com.google.gwt.core.client.JsArray < com.google.gerrit.client.changes.CommentInfo > > result ) { com.google.gwt.core.client.JsArray < com.google.gerrit.client.changes.CommentInfo > in = result.get ( path ) ; if ( in != null ) { addAllToCommentList ( in , toDrafts ) ; } }
Source:
void addFileCommentBox ( com.google.gerrit.client.diff.CommentBox box ) { diffTable.addFileCommentBox ( box ) ; }

Target:
void resizeCodeMirror ( ) { int height = getCodeMirrorHeight ( ) ; cmA.setHeight ( height ) ; cmB.setHeight ( height ) ; diffTable.overview.refresh ( ) ; }
Source:
public < T extends com.google.gwt.core.client.JavaScriptObject > void post ( com.google.gwt.user.client.rpc.AsyncCallback < T > cb ) { send ( com.google.gwt.http.client.RequestBuilder.POST , cb ) ; }

Target:
public < T extends com.google.gwt.core.client.JavaScriptObject > void put ( com.google.gwt.core.client.JavaScriptObject content , com.google.gwt.user.client.rpc.AsyncCallback < T > cb ) { sendJSON ( com.google.gwt.http.client.RequestBuilder.PUT , content , cb ) ; }
Source:
public void testUpsertOneNotExisting ( ) throws com.google.gwtorm.client.OrmException , java.sql.SQLException { stubExecuteBatchOK ( com.google.gwtorm.jdbc.TestJdbcAccess.UPDATE ) ; java.sql.PreparedStatement insert = stubExecuteBatchOK ( com.google.gwtorm.jdbc.TestJdbcAccess.INSERT , 1 ) ; createClassUnderTest ( ) . upsert ( com.google.gwtorm.jdbc.TestJdbcAccess.ONE_ROW ) ; verifyIds ( insert , 1 ) ; }

Target:
public void testUpsertNothing ( ) throws com.google.gwtorm.server.OrmException , java.sql.SQLException { createClassUnderTest ( ) . upsert ( noData ) ; }
Source:
private void wrapText ( java.lang.String tag , org.pegdown.ast.TextNode node ) { html.open ( tag ) . appendAndEscape ( node.getText ( ) ) . close ( tag ) ; }

Target:
private void visitChildren ( org.commonmark.node.Node node ) { for ( org.commonmark.node.Node c = node.getFirstChild ( ) ; c != null ; c = c.getNext ( ) ) { c.accept ( this ) ; } }
Source:
public void onSuccess ( com.google.gwt.core.client.JavaScriptObject result ) { removeUI ( ) ; }

Target:
public void onFailure ( java.lang.Throwable e ) { enableEdit ( true ) ; super . onFailure ( e ) ; }
Source:
public com.google.gerrit.server.change.ChangeJson.ChangeInfo format ( com.google.gerrit.reviewdb.client.Change change ) throws com.google.gwtorm.server.OrmException { return format ( new com.google.gerrit.server.query.change.ChangeData ( change ) ) ; }

Target:
public com.google.gerrit.server.change.ChangeJson.ChangeInfo format ( com.google.gerrit.reviewdb.client.Change change ) throws com.google.gwtorm.server.OrmException { return format ( changeDataFactory.create ( db.get ( ) , change ) ) ; }
Source:
public static com.google.gerrit.common.data.SubmitTypeRecord defaultTypeError ( ) { return com.google.gerrit.server.project.SubmitRuleEvaluator.createTypeError ( "Error evaluating project rules, check server log" ) ; }

Target:
public static com.google.gerrit.common.data.SubmitTypeRecord defaultTypeError ( ) { return com.google.gerrit.server.project.SubmitRuleEvaluator.createTypeError ( com.google.gerrit.server.project.SubmitRuleEvaluator.DEFAULT_MSG ) ; }
Source:
private void doQuery ( ) { com.google.gerrit.client.rpc.RestApi call = new com.google.gerrit.client.rpc.RestApi ( "Documentation" ) ; call.addParameterRaw ( "q" , com.google.gwtorm.client.KeyUtil.encode ( query ) ) ; call.get ( loadCallback ( ) ) ; }

Target:
private void doQuery ( ) { com.google.gerrit.client.rpc.RestApi call = new com.google.gerrit.client.rpc.RestApi ( com.google.gerrit.client.documentation.DocScreen.URI ) ; call.addParameterRaw ( "q" , com.google.gwtorm.client.KeyUtil.encode ( query ) ) ; call.get ( loadCallback ( ) ) ; }
Source:
static void deleteSessionCookie ( ) { com.google.gerrit.client.Gerrit.myAccount = null ; com.google.gerrit.client.Gerrit.myAccountDiffPref = null ; com.google.gerrit.client.Gerrit.accessToken = null ; com.google.gerrit.client.Gerrit.refreshMenuBar ( ) ; com.google.gwt.user.client.Cookies.removeCookie ( "GerritAccount" ) ; }

Target:
static void deleteSessionCookie ( ) { com.google.gerrit.client.Gerrit.myAccount = null ; com.google.gerrit.client.Gerrit.myAccountDiffPref = null ; com.google.gerrit.client.Gerrit.authorization = null ; com.google.gerrit.client.Gerrit.refreshMenuBar ( ) ; com.google.gwt.user.client.Cookies.removeCookie ( "GerritAccount" ) ; }
Source:
public void rollback ( ) throws com.google.gwtorm.server.OrmException { delegate.rollback ( ) ; }

Target:
public void rollback ( ) throws com.google.gwtorm.server.OrmException { if ( inTransaction ) { inTransaction = false ; } else { delegate.rollback ( ) ; } }
Source:
public void testGetComment ( ) throws java.lang.Exception { assertGetComment ( revRes1 , plc1 , plc1.getKey ( ) . get ( ) ) ; assertGetComment ( revRes1 , null , "BadComment" ) ; }

Target:
public void testGetCommentNotExisting ( ) throws java.lang.Exception { exception.expect ( com.google.gerrit.extensions.restapi.ResourceNotFoundException.class ) ; comments.parse ( revRes1 , com.google.gerrit.extensions.restapi.IdString.fromUrl ( "BadComment" ) ) ; }
Source:
void onSave ( ) { }

Target:
public void onFailure ( final java.lang.Throwable caught ) { text.setReadOnly ( false ) ; save.setEnabled ( true ) ; discard.setEnabled ( true ) ; super . onFailure ( caught ) ; }
Source:
public void subsetOfBranchesVisibleNotIncludingHead ( ) throws java.lang.Exception { deny ( Permission.READ , com.google.gerrit.server.group.SystemGroupBackend.REGISTERED_USERS , "refs/heads/master" ) ; allow ( Permission.READ , com.google.gerrit.server.group.SystemGroupBackend.REGISTERED_USERS , "refs/heads/branch" ) ; assertRefs ( "refs/changes/02/2/1" , "refs/heads/branch" ) ; }

Target:
public void subsetOfBranchesVisibleNotIncludingHead ( ) throws java.lang.Exception { deny ( Permission.READ , com.google.gerrit.server.group.SystemGroupBackend.REGISTERED_USERS , "refs/heads/master" ) ; allow ( Permission.READ , com.google.gerrit.server.group.SystemGroupBackend.REGISTERED_USERS , "refs/heads/branch" ) ; assertRefs ( "refs/changes/02/2/1" , "refs/changes/02/2/meta" , "refs/heads/branch" ) ; }
Source:
public void onSuccess ( com.google.gerrit.client.changes.ChangeInfo result ) { com.google.gerrit.client.Gerrit.display ( com.google.gerrit.common.PageLinks.toChange2 ( id ) ) ; }

Target:
public void onSuccess ( com.google.gerrit.client.changes.ChangeInfo result ) { com.google.gerrit.client.Gerrit.display ( com.google.gerrit.common.PageLinks.toChange ( id ) ) ; }
Source:
private boolean canSkipRef ( com.google.gerrit.server.config.PluginConfig config , java.lang.String ref ) { return matchCriteria ( config , "skipRef" , ref , true ) ; }

Target:
private boolean activeForEmail ( com.google.gerrit.server.config.PluginConfig config , java.lang.String email ) { return matchCriteria ( config , "email" , email , true , false ) ; }
Source:
void suggestAccount ( java.lang.String query , int limit , com.google.gwt.user.client.rpc.AsyncCallback < java.util.List < com.google.gerrit.common.data.AccountInfo > > callback ) ;

Target:
void suggestAccount ( java.lang.String query , java.lang.Boolean enabled , int limit , com.google.gwt.user.client.rpc.AsyncCallback < java.util.List < com.google.gerrit.common.data.AccountInfo > > callback ) ;
Source:
public void onFailure ( final java.lang.Throwable caught ) { com.google.gwt.core.client.GWT.log ( "Unexpected failure from validating account" , caught ) ; com.google.gerrit.client.Gerrit.refreshMenuBar ( ) ; finishModuleLoad ( ) ; }

Target:
public void onFailure ( final java.lang.Throwable caught ) { com.google.gwt.core.client.GWT.log ( "Unexpected failure from validating account" , caught ) ; com.google.gerrit.client.Gerrit.refreshMenuBar ( ) ; showInitialScreen ( ) ; }
Source:
void updateSchema ( ) throws com.google.gwtorm.client.OrmException ;

Target:
void updateSchema ( com.google.gwtorm.client.StatementExecutor e ) throws com.google.gwtorm.client.OrmException ;
Source:
private java.lang.String id ( java.lang.String refName ) throws java.io.IOException { return org.eclipse.jgit.lib.ObjectId.toString ( repo.getRepository ( ) . getRef ( refName ) . getObjectId ( ) ) ; }

Target:
private java.lang.String id ( java.lang.String refName ) throws java.io.IOException { return org.eclipse.jgit.lib.ObjectId.toString ( repo.getRepository ( ) . exactRef ( refName ) . getObjectId ( ) ) ; }
Source:
public void setUp ( ) { com.google.common.truth.TruthJUnit.assume ( ) . that ( com.google.gerrit.testutil.GerritServerTests.isNoteDbTestEnabled ( ) ) . isFalse ( ) ; notesMigration.setAllEnabled ( false ) ; }

Target:
public void setUp ( ) { com.google.common.truth.TruthJUnit.assume ( ) . that ( com.google.gerrit.testutil.NoteDbMode.readWrite ( ) ) . isFalse ( ) ; com.google.gerrit.testutil.TestTimeUtil.resetWithClockStep ( 1 , java.util.concurrent.TimeUnit.SECONDS ) ; notesMigration.setAllEnabled ( false ) ; }
Source:
com.google.gerrit.server.change.ChangeInserter create ( com.google.gerrit.server.project.RefControl ctl , com.google.gerrit.reviewdb.client.Change c , org.eclipse.jgit.revwalk.RevCommit rc ) ;

Target:
com.google.gerrit.server.change.ChangeInserter create ( com.google.gerrit.reviewdb.client.Change.Id cid , org.eclipse.jgit.revwalk.RevCommit rc , java.lang.String refName ) ;
Source:
public void copySettingsFrom ( final com.google.gerrit.reviewdb.Project update ) { description = update.description ; useContributorAgreements = update.useContributorAgreements ; useSignedOffBy = update.useSignedOffBy ; requireChangeID = update.requireChangeID ; submitType = update.submitType ; }

Target:
public void copySettingsFrom ( final com.google.gerrit.reviewdb.Project update ) { description = update.description ; useContributorAgreements = update.useContributorAgreements ; useSignedOffBy = update.useSignedOffBy ; useContentMerge = update.useContentMerge ; requireChangeID = update.requireChangeID ; submitType = update.submitType ; }
Source:
public boolean isOwner ( ) { return ( canPerform ( ApprovalCategory.OWN , ( ( short ) ( 1 ) ) ) ) || ( getCurrentUser ( ) . isAdministrator ( ) ) ; }

Target:
public com.google.gerrit.server.project.RefControl controlForRef ( com.google.gerrit.reviewdb.Branch.NameKey ref ) { return controlForRef ( ref.get ( ) ) ; }
Source:
public com.google.gwtorm.server.ResultSet < com.google.gerrit.reviewdb.client.PatchLineComment > get ( java.lang.Iterable < com.google.gerrit.reviewdb.client.PatchLineComment.Key > keys ) { throw new java.lang.UnsupportedOperationException ( com.google.gerrit.server.schema.DisabledChangesReviewDbWrapper.MSG ) ; }

Target:
public com.google.gwtorm.server.ResultSet < com.google.gerrit.reviewdb.client.PatchLineComment > get ( java.lang.Iterable < com.google.gerrit.reviewdb.client.PatchLineComment.Key > keys ) { throw new java.lang.UnsupportedOperationException ( com.google.gerrit.reviewdb.server.DisabledChangesReviewDbWrapper.MSG ) ; }
Source:
protected void insertTitleWidget ( final com.google.gwt.user.client.ui.Widget w ) { header.insert ( w , 0 ) ; }

Target:
protected void setTitleWest ( final com.google.gwt.user.client.ui.Widget w ) { header.setWidget ( 0 , com.google.gerrit.client.ui.Screen.Cols.West.ordinal ( ) , w ) ; }
Source:
void evictAfterRename ( com.google.gerrit.reviewdb.client.AccountGroup.NameKey oldName ) throws java.io.IOException ;

Target:
void evict ( com.google.gerrit.reviewdb.client.AccountGroup.UUID groupUuid ) ;
Source:
public com.google.gerrit.reviewdb.client.PatchSetApproval getSubmitter ( final com.google.gerrit.reviewdb.client.PatchSet.Id c ) { return com.google.gerrit.server.git.MergeUtil.getSubmitter ( db.get ( ) , c ) ; }

Target:
public com.google.gerrit.reviewdb.client.PatchSetApproval getSubmitter ( com.google.gerrit.server.git.CodeReviewCommit c ) { return approvalsUtil.getSubmitter ( db.get ( ) , c.notes ( ) , c.getPatchsetId ( ) ) ; }
Source:
public static java.lang.String toUnified ( com.google.gerrit.reviewdb.client.PatchSet.Id diffBase , com.google.gerrit.reviewdb.client.PatchSet.Id revision , java.lang.String fileName ) { return com.google.gerrit.client.Dispatcher.toPatch ( "unified" , diffBase , revision , fileName ) ; }

Target:
public static java.lang.String toSideBySide ( com.google.gerrit.reviewdb.client.PatchSet.Id diffBase , com.google.gerrit.reviewdb.client.PatchSet.Id revision , java.lang.String fileName , com.google.gerrit.client.diff.DisplaySide side , int line ) { return com.google.gerrit.client.Dispatcher.toPatch ( "" , diffBase , revision , fileName , side , line ) ; }
Source:
public com.googlesource.gerrit.plugins.cookbook.Description getDescription ( com.google.gerrit.server.change.RevisionResource resource ) { return new com.googlesource.gerrit.plugins.cookbook.Description ( ) . setLabel ( "Say hello" ) . setTitle ( "Say hello in different languages" ) . setVisible ( ( ( user.get ( ) ) instanceof com.google.gerrit.server.IdentifiedUser ) ) ; }

Target:
public com.googlesource.gerrit.plugins.cookbook.Description getDescription ( com.google.gerrit.server.project.ProjectResource resource ) { return new com.googlesource.gerrit.plugins.cookbook.Description ( ) . setLabel ( "Say hello" ) . setTitle ( "Say hello in different languages" ) . setVisible ( ( ( user.get ( ) ) instanceof com.google.gerrit.server.IdentifiedUser ) ) ; }
Source:
public < T extends com.google.gwt.core.client.JavaScriptObject > void post ( java.lang.String content , com.google.gwt.user.client.rpc.AsyncCallback < T > cb ) { sendRaw ( com.google.gwt.http.client.RequestBuilder.POST , content , cb ) ; }

Target:
public < T extends com.google.gwt.core.client.JavaScriptObject > void post ( java.lang.String content , com.google.gerrit.client.rpc.HttpCallback < T > cb ) { sendRaw ( com.google.gwt.http.client.RequestBuilder.POST , content , cb ) ; }
Source:
protected void configure ( ) { com.google.gerrit.extensions.registration.DynamicSet.bind ( binder ( ) , com.google.gerrit.extensions.webui.TopMenu.class ) . to ( com.googlesource.gerrit.plugins.javamelody.MonitoringTopMenu.class ) ; }

Target:
protected void configure ( ) { bind ( com.google.gerrit.extensions.config.CapabilityDefinition.class ) . annotatedWith ( com.google.gerrit.extensions.annotations.Exports.named ( MonitoringCapability.ID ) ) . to ( com.googlesource.gerrit.plugins.javamelody.MonitoringCapability.class ) ; com.google.gerrit.extensions.registration.DynamicSet.bind ( binder ( ) , com.google.gerrit.extensions.webui.TopMenu.class ) . to ( com.googlesource.gerrit.plugins.javamelody.MonitoringTopMenu.class ) ; }
Source:
public void saveDraft ( com.google.gwt.user.client.rpc.AsyncCallback < com.google.gwtjsonrpc.client.VoidResult > onSave ) { if ( ( isOpen ( ) ) && ( text.isVisible ( ) ) ) { onSave ( onSave ) ; } else { onSave.onSuccess ( VoidResult.INSTANCE ) ; } }

Target:
public void saveDraft ( com.google.gwtjsonrpc.common.AsyncCallback < com.google.gwtjsonrpc.common.VoidResult > onSave ) { if ( ( isOpen ( ) ) && ( text.isVisible ( ) ) ) { onSave ( onSave ) ; } else { onSave.onSuccess ( VoidResult.INSTANCE ) ; } }
Source:
private org.eclipse.jgit.revwalk.RevCommit writeCommit ( java.lang.String body ) throws java.lang.Exception { return writeCommit ( body , com.google.gerrit.server.notedb.ChangeNoteUtil.newIdent ( changeOwner.getAccount ( ) , com.google.gerrit.server.util.TimeUtil.nowTs ( ) , serverIdent , "Anonymous Coward" ) ) ; }

Target:
private org.eclipse.jgit.revwalk.RevCommit writeCommit ( java.lang.String body ) throws java.lang.Exception { return writeCommit ( body , com.google.gerrit.server.notedb.ChangeNoteUtil.newIdent ( changeOwner.getAccount ( ) , com.google.gerrit.common.TimeUtil.nowTs ( ) , serverIdent , "Anonymous Coward" ) ) ; }
Source:
public void addOp ( com.google.gerrit.server.git.BatchUpdate bu , com.google.gerrit.reviewdb.client.Branch.NameKey branch ) { bu.addRepoOnlyOp ( new com.google.gerrit.server.git.SubmoduleOp.GitlinkOp ( branch ) ) ; }

Target:
public void addOp ( com.google.gerrit.server.update.BatchUpdate bu , com.google.gerrit.reviewdb.client.Branch.NameKey branch ) { bu.addRepoOnlyOp ( new com.google.gerrit.server.git.SubmoduleOp.GitlinkOp ( branch ) ) ; }
Source:
static com.google.gerrit.client.account.AccountApi.GpgKeysInput remove ( java.lang.Iterable < java.lang.String > fingerprints ) { return com.google.gerrit.client.account.AccountApi.GpgKeysInput.createRemove ( com.google.gerrit.client.rpc.Natives.arrayOf ( fingerprints ) ) ; }

Target:
static com.google.gerrit.client.account.AccountApi.GpgKeysInput delete ( java.lang.Iterable < java.lang.String > fingerprints ) { return com.google.gerrit.client.account.AccountApi.GpgKeysInput.createWithDelete ( com.google.gerrit.client.rpc.Natives.arrayOf ( fingerprints ) ) ; }
Source:
public com.google.gerrit.extensions.api.changes.IncludedInInfo includedIn ( ) throws com.google.gerrit.extensions.restapi.RestApiException { try { return includedIn.apply ( change ) ; } catch ( com.google.gwtorm.server.OrmException | java.io.IOException e ) { throw new com.google.gerrit.extensions.restapi.RestApiException ( "Could not extract IncludedIn data" , e ) ; } }

Target:
public com.google.gerrit.extensions.api.changes.IncludedInInfo includedIn ( ) throws com.google.gerrit.extensions.restapi.RestApiException { try { return includedIn.apply ( change ) ; } catch ( java.lang.Exception e ) { throw com.google.gerrit.server.api.ApiUtil.asRestApiException ( "Could not extract IncludedIn data" , e ) ; } }
Source:
public void setUp ( ) throws java.lang.Exception { branch = new com.google.gerrit.reviewdb.client.Branch.NameKey ( project , "test" ) ; branch ( ) . create ( new com.google.gerrit.extensions.api.projects.BranchInput ( ) ) ; }

Target:
public void setUp ( ) throws java.lang.Exception { project = createProject ( name ( "p" ) ) ; branch = new com.google.gerrit.reviewdb.client.Branch.NameKey ( project , "test" ) ; branch ( ) . create ( new com.google.gerrit.extensions.api.projects.BranchInput ( ) ) ; }
Source:
public java.lang.String getName ( ) { java.lang.String ret = "" ; if ( ( chopped.length ) > 0 ) { ret = chopped [ 0 ] ; } return ret ; }

Target:
public java.lang.String getName ( ) { return getParameter ( 0 ) ; }
Source:
public static void all ( com.google.gwtjsonrpc.common.AsyncCallback < com.google.gerrit.client.plugins.PluginMap > callback ) { new com.google.gerrit.client.rpc.RestApi ( "/plugins/" ) . addParameterTrue ( "all" ) . get ( com.google.gerrit.client.rpc.NativeMap.copyKeysIntoChildren ( callback ) ) ; }

Target:
public static void all ( com.google.gwt.user.client.rpc.AsyncCallback < com.google.gerrit.client.plugins.PluginMap > callback ) { new com.google.gerrit.client.rpc.RestApi ( "/plugins/" ) . addParameterTrue ( "all" ) . get ( com.google.gerrit.client.rpc.NativeMap.copyKeysIntoChildren ( callback ) ) ; }
Source:
private com.ericsson.gerrit.plugins.highavailability.peers.PeerInfo getPeerInfo ( ) throws com.ericsson.gerrit.plugins.highavailability.forwarder.rest.PeerInfoNotAvailableException { com.ericsson.gerrit.plugins.highavailability.peers.PeerInfo info = peerInfo.get ( ) . orNull ( ) ; if ( info == null ) { throw new com.ericsson.gerrit.plugins.highavailability.forwarder.rest.PeerInfoNotAvailableException ( ) ; } return info ; }

Target:
private com.ericsson.gerrit.plugins.highavailability.peers.PeerInfo getPeerInfo ( ) throws com.ericsson.gerrit.plugins.highavailability.forwarder.rest.PeerInfoNotAvailableException { com.ericsson.gerrit.plugins.highavailability.peers.PeerInfo info = peerInfo.get ( ) . orElse ( null ) ; if ( info == null ) { throw new com.ericsson.gerrit.plugins.highavailability.forwarder.rest.PeerInfoNotAvailableException ( ) ; } return info ; }
Source:
private com.google.gerrit.server.change.GetDiff.ContentEntry entry ( ) { com.google.gerrit.server.change.GetDiff.ContentEntry e = new com.google.gerrit.server.change.GetDiff.ContentEntry ( ) ; lines.add ( e ) ; return e ; }

Target:
private com.google.gerrit.extensions.common.DiffInfo.ContentEntry entry ( ) { com.google.gerrit.extensions.common.DiffInfo.ContentEntry e = new com.google.gerrit.extensions.common.DiffInfo.ContentEntry ( ) ; lines.add ( e ) ; return e ; }
Source:
public void init ( javax.servlet.FilterConfig filterConfig ) throws javax.servlet.ServletException { cookieProvider.init ( ) ; }

Target:
private javax.servlet.http.Cookie getGerritCookie ( javax.servlet.http.HttpServletRequest httpRequest ) { for ( javax.servlet.http.Cookie cookie : httpRequest.getCookies ( ) ) { if ( cookie.getName ( ) . equalsIgnoreCase ( com.googlesource.gerrit.plugins.github.oauth.OAuthFilter.GERRIT_COOKIE_NAME ) ) { return cookie ; } } return null ; }
Source:
public com.google.gerrit.server.project.ChangeControl forUser ( final com.google.gerrit.server.CurrentUser who ) { return new com.google.gerrit.server.project.ChangeControl ( approvalsUtil , getRefControl ( ) . forUser ( who ) , getChange ( ) ) ; }

Target:
private com.google.gerrit.server.query.change.ChangeData changeData ( com.google.gerrit.reviewdb.server.ReviewDb db , @ com.google.gerrit.common.Nullable com.google.gerrit.server.query.change.ChangeData cd ) { return cd != null ? cd : changeDataFactory.create ( db , getChange ( ) ) ; }
Source:
public boolean isAutomaticMembership ( ) { return automaticMembership ; }

Target:
public boolean isAutomaticMembership ( ) { return ( automaticMembership ) || ( ( externalName ) != null ) ; }
Source:
public void assertCanDelete ( com.google.gerrit.reviewdb.client.Project project ) throws com.google.gwtorm.server.OrmException , com.googlesource.gerrit.plugins.deleteproject.database.CannotDeleteProjectException { if ( db.submoduleSubscriptions ( ) . bySubmoduleProject ( project.getNameKey ( ) ) . iterator ( ) . hasNext ( ) ) { throw new com.googlesource.gerrit.plugins.deleteproject.database.CannotDeleteProjectException ( "Project is subscribed by other projects." ) ; } }

Target:
public void assertCanDelete ( com.google.gerrit.reviewdb.client.Project project ) throws com.google.gwtorm.server.OrmException , com.googlesource.gerrit.plugins.deleteproject.CannotDeleteProjectException { if ( db.submoduleSubscriptions ( ) . bySubmoduleProject ( project.getNameKey ( ) ) . iterator ( ) . hasNext ( ) ) { throw new com.googlesource.gerrit.plugins.deleteproject.CannotDeleteProjectException ( "Project is subscribed by other projects." ) ; } }
Source:
public void error ( com.google.gerrit.server.git.ValidationError error ) { com.google.gerrit.pgm.init.api.AllProjectsConfig.log.error ( ( ( ( "Error parsing file " + ( com.google.gerrit.server.git.GroupList.FILE_NAME ) ) + ": " ) + ( error.getMessage ( ) ) ) ) ; }

Target:
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 ) ) ; }
Source:
public com.google.gerrit.client.admin.PermissionRuleEditor create ( int index ) { com.google.gerrit.client.admin.PermissionRuleEditor subEditor = new com.google.gerrit.client.admin.PermissionRuleEditor ( readOnly , section , value , validRange ) ; ruleContainer.insert ( subEditor , index ) ; return subEditor ; }

Target:
public com.google.gerrit.client.admin.PermissionRuleEditor create ( int index ) { com.google.gerrit.client.admin.PermissionRuleEditor subEditor = new com.google.gerrit.client.admin.PermissionRuleEditor ( readOnly , groupInfo , section , value , validRange ) ; ruleContainer.insert ( subEditor , index ) ; return subEditor ; }
Source:
private static java.util.List < java.lang.Integer > get ( java.lang.String value ) { return com.google.gerrit.testutil.IndexVersions.get ( ChangeSchemaDefinitions.INSTANCE , "test" , value ) ; }

Target:
private static java.util.List < java.lang.Integer > get ( java.lang.String value ) { return com.google.gerrit.testing.IndexVersions.get ( ChangeSchemaDefinitions.INSTANCE , "test" , value ) ; }
Source:
public boolean hasChange ( ) { return true ; }

Target:
public int getCost ( ) { return 1 ; }
Source:
public com.google.gerrit.server.change.ChangeInserter setDraft ( boolean draft ) { change.setStatus ( ( draft ? Change.Status.DRAFT : Change.Status.NEW ) ) ; patchSet.setDraft ( draft ) ; return this ; }

Target:
public com.google.gerrit.server.change.ChangeInserter setTopic ( java.lang.String topic ) { com.google.common.base.Preconditions.checkState ( ( ( change ) == null ) , "setTopic(String) only valid before creating change" ) ; this . topic = topic ; return this ; }
Source:
public void delete ( ) throws com.google.gerrit.extensions.restapi.RestApiException { try { deleteDraft.apply ( draft , null ) ; } catch ( java.io.IOException | com.google.gwtorm.server.OrmException e ) { throw new com.google.gerrit.extensions.restapi.RestApiException ( "Cannot delete draft" , e ) ; } }

Target:
public void delete ( ) throws com.google.gerrit.extensions.restapi.RestApiException { try { deleteDraft.apply ( draft , null ) ; } catch ( com.google.gerrit.server.git.UpdateException e ) { throw new com.google.gerrit.extensions.restapi.RestApiException ( "Cannot delete draft" , e ) ; } }
Source:
public java.lang.Object apply ( com.google.gerrit.server.group.GroupResource resource , com.google.gerrit.server.group.CreateGroup.Input input ) throws com.google.gerrit.extensions.restapi.PreconditionFailedException { throw new com.google.gerrit.extensions.restapi.PreconditionFailedException ( "Resource already exists" ) ; }

Target:
public java.lang.Object apply ( com.google.gerrit.server.group.GroupResource resource , com.google.gerrit.server.group.CreateGroup.Input input ) throws com.google.gerrit.extensions.restapi.ResourceConflictException { throw new com.google.gerrit.extensions.restapi.ResourceConflictException ( "Group already exists" ) ; }
Source:
private void edit ( ) { text.setText ( comment.getMessage ( ) ) ; expandText ( ) ; stateEdit ( true ) ; text.setFocus ( true ) ; }

Target:
private void edit ( ) { if ( ! ( isOpen ( ) ) ) { setOpen ( true ) ; } text.setText ( comment.getMessage ( ) ) ; expandText ( ) ; stateEdit ( true ) ; text.setFocus ( true ) ; }
Source:
public void nameEscaperDoesNotEscapeSlashes ( ) throws java.lang.Exception { com.google.common.truth.Truth.assertThat ( com.google.gitiles.GitilesUrls.NAME_ESCAPER.apply ( "foo/bar" ) ) . isEqualTo ( "foo/bar" ) ; }

Target:
public void nameEscaperDoesNotEscapeSlashes ( ) throws java.lang.Exception { com.google.common.truth.Truth.assertThat ( com.google.gitiles.GitilesUrls.escapeName ( "foo/bar" ) ) . isEqualTo ( "foo/bar" ) ; }
Source:
private PatchSet.Id getPatchSetIdFromSide ( com.google.gerrit.client.diff.DisplaySide side ) { return ( side == ( DisplaySide.A ) ) && ( ( base ) != null ) ? base : revision ; }

Target:
protected void preDisplay ( com.google.gerrit.client.projects.ConfigInfoCache.Entry result ) { commentManager = new com.google.gerrit.client.diff.CommentManager ( this , base , revision , path , result.getCommentLinkProcessor ( ) ) ; setTheme ( result.getTheme ( ) ) ; display ( comments ) ; }
Source:
private boolean canUploadMerges ( ) { return ( projectControl.controlForRef ( ( "refs/for/" + ( getRefName ( ) ) ) ) . canPerform ( Permission.PUSH_MERGE ) ) && ( isProjectStatePermittingWrite ( ) ) ; }

Target:
private boolean canUploadMerges ( ) { return ( projectControl.controlForRef ( ( "refs/for/" + ( refName ) ) ) . canPerform ( Permission.PUSH_MERGE ) ) && ( isProjectStatePermittingWrite ( ) ) ; }
Source:
private void display ( com.google.gerrit.client.changes.ChangeInfo info ) { hashtagsText.setInnerSafeHtml ( formatHashtags ( info ) ) ; }

Target:
private void display ( com.google.gerrit.client.info.ChangeInfo info ) { hashtagsText.setInnerSafeHtml ( formatHashtags ( info ) ) ; }
Source:
public com.google.gerrit.extensions.common.GroupInfo detail ( ) throws com.google.gerrit.extensions.restapi.RestApiException { try { return getDetail.apply ( rsrc ) ; } catch ( com.google.gwtorm.server.OrmException e ) { throw new com.google.gerrit.extensions.restapi.RestApiException ( "Cannot retrieve group" , e ) ; } }

Target:
public com.google.gerrit.extensions.common.GroupInfo detail ( ) throws com.google.gerrit.extensions.restapi.RestApiException { try { return getDetail.apply ( rsrc ) ; } catch ( java.lang.Exception e ) { throw com.google.gerrit.server.api.ApiUtil.asRestApiException ( "Cannot retrieve group" , e ) ; } }
Source:
public boolean enableDefaultUi ( ) { return ( ! ( headless ) ) && ( ! ( enablePolyGerrit ) ) ; }

Target:
public boolean enableGwtUi ( ) { return ( ! ( headless ) ) && ( enableGwtUi ) ; }
Source:
public java.util.List < com.google.gerrit.reviewdb.client.PatchSetApproval > allApprovals ( com.google.inject.Provider < com.google.gerrit.reviewdb.server.ReviewDb > db ) throws com.google.gwtorm.server.OrmException { return com.google.common.collect.ImmutableList.copyOf ( allApprovalsMap ( db ) . values ( ) ) ; }

Target:
public com.google.common.collect.SetMultimap < com.google.gerrit.server.ApprovalsUtil.ReviewerState , com.google.gerrit.reviewdb.client.Account.Id > reviewers ( ) throws com.google.gwtorm.server.OrmException { return com.google.gerrit.server.ApprovalsUtil.getReviewers ( allApprovals ( ) ) ; }
Source:
public void testContainsFalseWithSingleElement ( ) throws java.lang.Exception { com.google.gerrit.extensions.registration.DynamicSet < java.lang.Integer > ds = new com.google.gerrit.extensions.registration.DynamicSet ( ) ; ds.add ( 2 ) ; com.google.common.truth.Truth.assertThat ( ds ) . doesNotContain ( 3 ) ; }

Target:
public void testContainsFalseWithSingleElement ( ) throws java.lang.Exception { com.google.gerrit.extensions.registration.DynamicSet < java.lang.Integer > ds = new com.google.gerrit.extensions.registration.DynamicSet ( ) ; ds.add ( 2 ) ; com.google.common.truth.Truth.assertThat ( ds.contains ( 3 ) ) . isFalse ( ) ; }
Source:
public void remove ( final K key ) { if ( key != null ) { self.remove ( key ) ; } }

Target:
public com.google.common.util.concurrent.ListenableFuture < java.lang.Void > removeAsync ( final K key ) { if ( key != null ) { self.remove ( key ) ; } return com.google.common.util.concurrent.Futures.immediateFuture ( null ) ; }
Source:
private void fireEventForUnrestrictedListeners ( final com.google.gerrit.server.events.ChangeEvent event ) { for ( com.google.gerrit.common.ChangeListener listener : unrestrictedListeners ) { listener.onChangeEvent ( event ) ; } }

Target:
private void fireEventForUnrestrictedListeners ( final com.google.gerrit.server.events.Event event ) { for ( com.google.gerrit.common.EventListener listener : unrestrictedListeners ) { listener.onEvent ( event ) ; } }
Source:
public boolean apply ( com.google.gerrit.server.account.ExternalId externalId ) { return externalId.key ( ) . get ( ) . startsWith ( IdentifiedUserGitHubLoginProvider.EXTERNAL_ID_PREFIX ) ; }

Target:
public boolean apply ( com.google.gerrit.server.account.externalids.ExternalId externalId ) { return externalId.key ( ) . get ( ) . startsWith ( IdentifiedUserGitHubLoginProvider.EXTERNAL_ID_PREFIX ) ; }
Source:
public void setIntHeader ( java.lang.String name , int value ) { headers.removeAll ( name ) ; addIntHeader ( name , value ) ; }

Target:
public void setIntHeader ( java.lang.String name , int value ) { headers.removeAll ( name.toLowerCase ( ) ) ; addIntHeader ( name , value ) ; }
Source:
public int hashCode ( ) { return com.google.common.base.Objects.hashCode ( name , version , pluginFile ) ; }

Target:
public int hashCode ( ) { return java.util.Objects.hash ( name , version , pluginFile ) ; }
Source:
public java.lang.String getStory ( final java.lang.String issueId ) throws java.io.IOException { return getData ( ( ( ( ( this . baseUrl ) + ( com.googlesource.gerrit.plugins.its.storyboard.StoryboardClient.STORIES_ENDPOINT ) ) + "/" ) + issueId ) ) ; }

Target:
public java.lang.String getStory ( final java.lang.String id ) throws java.io.IOException { return getData ( ( ( ( ( this . baseUrl ) + ( com.googlesource.gerrit.plugins.its.storyboard.StoryboardClient.STORIES_ENDPOINT ) ) + "/" ) + ( getStoryId ( id ) ) ) ) ; }
Source:
protected void preDisplay ( final com.google.gerrit.client.projects.ProjectMap result ) { display ( result ) ; }

Target:
protected void preDisplay ( final com.google.gerrit.client.projects.ProjectMap result ) { if ( mySubname.equals ( subname ) ) { display ( result ) ; } }
Source:
public static com.google.gerrit.common.data.GroupReference groupReference ( java.lang.String orgName ) { return new com.google.gerrit.common.data.GroupReference ( com.googlesource.gerrit.plugins.github.group.GitHubOrganisationGroup.uuid ( orgName ) , ( ( com.googlesource.gerrit.plugins.github.group.GitHubOrganisationGroup.NAME_PREFIX ) + orgName ) ) ; }

Target:
public static com.google.gerrit.reviewdb.client.AccountGroup.UUID uuid ( java.lang.String orgName ) { return new com.google.gerrit.reviewdb.client.AccountGroup.UUID ( ( ( UUID_PREFIX ) + orgName ) ) ; }
Source:
public static java.util.Set < java.lang.String > getNameParts ( java.lang.String name ) { return com.google.gerrit.server.index.SchemaUtil.getNameParts ( name , java.util.Collections.emptySet ( ) ) ; }

Target:
public static java.util.Set < java.lang.String > getNameParts ( java.lang.String name ) { return com.google.gerrit.index.SchemaUtil.getNameParts ( name , java.util.Collections.emptySet ( ) ) ; }
Source:
org.parboiled.Rule Factor ( ) { return FirstOf ( Number ( ) , Sequence ( '(' , Expression ( ) , ')' ) ) ; }

Target:
org.parboiled.Rule Factor ( ) { return firstOf ( Number ( ) , sequence ( '(' , Expression ( ) , ')' ) ) ; }
Source:
protected void configure ( ) { listener ( ) . to ( com.google.gerrit.sshd.SshLog.class ) ; listener ( ) . to ( com.google.gerrit.sshd.SshDaemon.class ) ; }

Target:
protected void configure ( ) { bind ( com.google.gerrit.server.plugins.StartPluginListener.class ) . annotatedWith ( com.google.inject.internal.UniqueAnnotations.create ( ) ) . to ( com.google.gerrit.sshd.SshPluginStarterCallback.class ) ; listener ( ) . to ( com.google.gerrit.sshd.SshLog.class ) ; listener ( ) . to ( com.google.gerrit.sshd.SshDaemon.class ) ; }
Source:
public com.google.gerrit.server.change.ListComments list ( ) { BRANCH ( ( f38c1c = com.google.gerrit.server.PatchLineCommentsUtil.draftByChangeAuthor ) ) ; return list ; }

Target:
public com.google.gerrit.server.change.ListRevisionComments list ( ) { return list ; }
Source:
private void updatePatchSetRef ( com.google.gerrit.reviewdb.client.PatchSet ps ) throws java.lang.Exception { repo.update ( ps.getId ( ) . toRefName ( ) , org.eclipse.jgit.lib.ObjectId.fromString ( ps.getRevision ( ) . get ( ) ) ) ; }

Target:
private void updatePatchSetRef ( com.google.gerrit.reviewdb.client.PatchSet ps ) throws java.lang.Exception { testRepo.update ( ps.getId ( ) . toRefName ( ) , org.eclipse.jgit.lib.ObjectId.fromString ( ps.getRevision ( ) . get ( ) ) ) ; }
Source:
public com.google.gwtexpui.safehtml.client.SafeHtml linkify ( ) { final java.lang.String part = "(?:" + ( ( "[a-zA-Z0-9$_.+!*',%;:@=?#/~-]" + "|&(?!lt;|gt;)" ) + ")" ) ; return replaceAll ( ( ( ( ( ( ( ( ( ( "(https?://" + part ) + "{2,}" ) + "(?:[(]" ) + part ) + "*" ) + "[)])*" ) + part ) + "*" ) + ")" ) , "<a href=\"$1\" target=\"_blank\">$1</a>" ) ; }

Target:
public com.google.gwtexpui.safehtml.client.SafeHtml linkify ( ) { final java.lang.String part = "(?:" + ( ( ( "[a-zA-Z0-9$_+!*'%;:@=?#/~-]" + "|&(?!lt;|gt;)" ) + "|[.,](?!(?:\\s|$))" ) + ")" ) ; return replaceAll ( ( ( ( ( ( ( ( ( ( "(https?://" + part ) + "{2,}" ) + "(?:[(]" ) + part ) + "*" ) + "[)])*" ) + part ) + "*" ) + ")" ) , "<a href=\"$1\" target=\"_blank\">$1</a>" ) ; }
Source:
private void preMerge ( final com.google.gerrit.server.git.SubmitStrategy strategy , final java.util.List < com.google.gerrit.server.git.CodeReviewCommit > toMerge ) throws com.google.gerrit.server.git.MergeException { mergeTip = strategy.run ( branchTip , toMerge ) ; refLogIdent = strategy.getRefLogIdent ( ) ; commits.putAll ( strategy.getNewCommits ( ) ) ; }

Target:
private void preMerge ( final com.google.gerrit.server.git.strategy.SubmitStrategy strategy , final java.util.List < com.google.gerrit.server.git.CodeReviewCommit > toMerge ) throws com.google.gerrit.server.git.MergeException { mergeTip = strategy.run ( branchTip , toMerge ) ; refLogIdent = strategy.getRefLogIdent ( ) ; commits.putAll ( strategy.getNewCommits ( ) ) ; }
Source:
public void setContactFiled ( ) { contactFiledOn = new java.sql.Timestamp ( java.lang.System.currentTimeMillis ( ) ) ; }

Target:
public void setContactFiled ( java.sql.Timestamp ts ) { contactFiledOn = ts ; }
Source:
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 ) ; }

Target:
public void deleteDraftChange ( final com.google.gerrit.reviewdb.client.PatchSet.Id patchSetId , final com.google.gwtjsonrpc.common.AsyncCallback < com.google.gwtjsonrpc.common.VoidResult > callback ) { deleteDraftChangeFactory.create ( patchSetId ) . to ( callback ) ; }
Source:
public com.googlecode.prolog_cafe.lang.NumberTerm shiftLeft ( com.googlecode.prolog_cafe.lang.NumberTerm t ) { if ( t.isDouble ( ) ) throw new com.googlecode.prolog_cafe.exceptions.IllegalTypeException ( "integer" , t ) ; return new com.googlecode.prolog_cafe.lang.IntegerTerm ( ( ( this . val ) << ( t.intValue ( ) ) ) ) ; }

Target:
public com.googlecode.prolog_cafe.lang.NumberTerm shiftLeft ( com.googlecode.prolog_cafe.lang.NumberTerm t ) { if ( t instanceof com.googlecode.prolog_cafe.lang.DoubleTerm ) throw new com.googlecode.prolog_cafe.exceptions.IllegalTypeException ( "integer" , t ) ; return new com.googlecode.prolog_cafe.lang.IntegerTerm ( ( ( this . val ) << ( t.intValue ( ) ) ) ) ; }