Skip to content

Commit a4ee3e5

Browse files
committed
Remove method Ref.getType() deprecated in 0.8. Already unused.
1 parent 26fd3e6 commit a4ee3e5

File tree

1 file changed

+0
-14
lines changed
  • src/core/src/main/java/org/geogit/api

1 file changed

+0
-14
lines changed

src/core/src/main/java/org/geogit/api/Ref.java

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
*/
55
package org.geogit.api;
66

7-
import org.geogit.api.RevObject.TYPE;
8-
97
import com.google.common.base.Preconditions;
108

119
/**
@@ -97,18 +95,6 @@ public Ref(final String name, final ObjectId oid) {
9795
this.objectId = oid;
9896
}
9997

100-
/**
101-
* @return {@link TYPE#COMMIT}
102-
* @deprecated this method is scheduled to be removed in 0.9.0 as its practically of no use and
103-
* forces ref-parse to unnecessarily call on resolve-object-type, which can be
104-
* called separately in case some client code needs to figure out what kind of
105-
* object a ref points to with the ref's object id as argument.
106-
*/
107-
@Deprecated
108-
public RevObject.TYPE getType() {
109-
return RevObject.TYPE.COMMIT;
110-
}
111-
11298
/**
11399
* @return the name for this ref
114100
*/

0 commit comments

Comments
 (0)