Skip to content

Commit e1d0c55

Browse files
author
Vladimir Kotal
committed
make some methods package-private
1 parent 591f30e commit e1d0c55

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

opengrok-indexer/src/main/java/org/opengrok/indexer/history/PerforceRepository.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ public boolean fileHasAnnotation(File file) {
154154
* @param interactive interactive mode flag
155155
* @return true if the given file is in the depot, false otherwise
156156
*/
157-
public static boolean isInP4Depot(File file, boolean interactive) {
157+
static boolean isInP4Depot(File file, boolean interactive) {
158158
boolean status = false;
159159
if (testRepo.isWorking()) {
160160
ArrayList<String> cmd = new ArrayList<>();
@@ -239,7 +239,7 @@ String determineBranch(boolean interactive) {
239239
* @param rev Internal rev number.
240240
* @return rev number formatted for P4 command-line.
241241
*/
242-
public static String getRevisionCmd(String rev) {
242+
static String getRevisionCmd(String rev) {
243243
if (rev == null || "".equals(rev)) {
244244
return "";
245245
}
@@ -251,7 +251,7 @@ public static String getRevisionCmd(String rev) {
251251
* @param last Last revision number.
252252
* @return rev number formatted for P4 command-line.
253253
*/
254-
public static String getRevisionCmd(String first, String last) {
254+
static String getRevisionCmd(String first, String last) {
255255
if ((first == null || "".equals(first)) &&
256256
((last == null) || "".equals(last))) {
257257
return "";

0 commit comments

Comments
 (0)