Skip to content

Commit

Permalink
This field should be still final
Browse files Browse the repository at this point in the history
  • Loading branch information
kohsuke committed Sep 8, 2017
1 parent c9b5074 commit cda27d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/main/java/org/kohsuke/github/GHCommitSearchBuilder.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package org.kohsuke.github;

import java.io.IOException;
import java.util.Locale;

import org.apache.commons.lang.StringUtils;

Expand All @@ -15,7 +14,7 @@
public class GHCommitSearchBuilder extends GHSearchBuilder<GHCommit> {
/*package*/ GHCommitSearchBuilder(GitHub root) {
super(root,CommitSearchResult.class);
req = req.withPreview(Previews.CLOAK);
req.withPreview(Previews.CLOAK);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/kohsuke/github/GHQueryBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*/
public abstract class GHQueryBuilder<T> {
protected final GitHub root;
protected Requester req;
protected final Requester req;

/*package*/ GHQueryBuilder(GitHub root) {
this.root = root;
Expand Down

0 comments on commit cda27d5

Please sign in to comment.