]> source.dussan.org Git - jgit.git/commit
Remove unnecessary modifiers from interfaces 33/132533/1
authorIvan Frade <ifrade@google.com>
Fri, 16 Nov 2018 05:27:20 +0000 (21:27 -0800)
committerIvan Frade <ifrade@google.com>
Fri, 16 Nov 2018 06:36:43 +0000 (22:36 -0800)
commitd9ac7ddf1026123fee6c4477d172d614522dfc08
tree031a110e54fc1158523fe8971443f8a4d9ba6df2
parentc56afbf18cb14402705a56ca6a2dff6441208cd3
Remove unnecessary modifiers from interfaces

From Oracle's "Defining an interface":

"All abstract, default, and static methods in an interface are
implicitly public, so you can omit the public modifier."

(Without any modifier, the interface methods are also abstract, so we
omit also the "abstract")

"In addition, an interface can contain constant declarations. All
constant values defined in an interface are implicitly public, static,
and final. Once again, you can omit these modifiers."

This makes the code more consistent. Now all interfaces under
org.eclipse.jgit follow the guidelines.

Change-Id: I4fe6deb111899ec1b4318ab5a6050f3851fa1fd3
Signed-off-by: Ivan Frade <ifrade@google.com>
32 files changed:
org.eclipse.jgit/src/org/eclipse/jgit/api/TransportConfigCallback.java
org.eclipse.jgit/src/org/eclipse/jgit/attributes/AttributesNodeProvider.java
org.eclipse.jgit/src/org/eclipse/jgit/attributes/AttributesProvider.java
org.eclipse.jgit/src/org/eclipse/jgit/attributes/FilterCommandFactory.java
org.eclipse.jgit/src/org/eclipse/jgit/fnmatch/Head.java
org.eclipse.jgit/src/org/eclipse/jgit/lib/AsyncObjectLoaderQueue.java
org.eclipse.jgit/src/org/eclipse/jgit/lib/AsyncObjectSizeQueue.java
org.eclipse.jgit/src/org/eclipse/jgit/lib/AsyncOperation.java
org.eclipse.jgit/src/org/eclipse/jgit/lib/BlobObjectChecker.java
org.eclipse.jgit/src/org/eclipse/jgit/lib/CheckoutEntry.java
org.eclipse.jgit/src/org/eclipse/jgit/lib/ProgressMonitor.java
org.eclipse.jgit/src/org/eclipse/jgit/lib/Ref.java
org.eclipse.jgit/src/org/eclipse/jgit/lib/ReflogEntry.java
org.eclipse.jgit/src/org/eclipse/jgit/lib/ReflogReader.java
org.eclipse.jgit/src/org/eclipse/jgit/revwalk/AsyncRevObjectQueue.java
org.eclipse.jgit/src/org/eclipse/jgit/revwalk/DepthWalk.java
org.eclipse.jgit/src/org/eclipse/jgit/transport/AdvertiseRefsHook.java
org.eclipse.jgit/src/org/eclipse/jgit/transport/Connection.java
org.eclipse.jgit/src/org/eclipse/jgit/transport/FetchConnection.java
org.eclipse.jgit/src/org/eclipse/jgit/transport/NonceGenerator.java
org.eclipse.jgit/src/org/eclipse/jgit/transport/PostReceiveHook.java
org.eclipse.jgit/src/org/eclipse/jgit/transport/PostUploadHook.java
org.eclipse.jgit/src/org/eclipse/jgit/transport/PreReceiveHook.java
org.eclipse.jgit/src/org/eclipse/jgit/transport/PreUploadHook.java
org.eclipse.jgit/src/org/eclipse/jgit/transport/PushConnection.java
org.eclipse.jgit/src/org/eclipse/jgit/transport/RefFilter.java
org.eclipse.jgit/src/org/eclipse/jgit/transport/TransportBundle.java
org.eclipse.jgit/src/org/eclipse/jgit/transport/http/HttpConnection.java
org.eclipse.jgit/src/org/eclipse/jgit/transport/http/HttpConnectionFactory.java
org.eclipse.jgit/src/org/eclipse/jgit/transport/resolver/ReceivePackFactory.java
org.eclipse.jgit/src/org/eclipse/jgit/transport/resolver/RepositoryResolver.java
org.eclipse.jgit/src/org/eclipse/jgit/transport/resolver/UploadPackFactory.java