18
18
*/
19
19
20
20
/*
21
- * Copyright (c) 2021, 2023 , Oracle and/or its affiliates. All rights reserved.
21
+ * Copyright (c) 2021, 2024 , Oracle and/or its affiliates. All rights reserved.
22
22
*/
23
23
package org .opengrok .indexer .history ;
24
24
@@ -65,7 +65,7 @@ public static String getRepositoryCacheDataDirname(RepositoryInfo repository, Ca
65
65
repoDirBasename = env .getPathRelativeToSourceRoot (new File (repository .getDirectoryName ()));
66
66
} catch (IOException ex ) {
67
67
LOGGER .log (Level .WARNING ,
68
- String .format ("Could not resolve repository %s relative to source root" , repository ), ex );
68
+ String .format ("Could not resolve repository '%s' relative to source root" , repository ), ex );
69
69
return null ;
70
70
} catch (ForbiddenSymlinkException ex ) {
71
71
LOGGER .log (Level .FINER , ex .getMessage ());
@@ -84,7 +84,7 @@ public static void clearCacheDir(RepositoryInfo repository, Cache cache) {
84
84
try {
85
85
IOUtils .removeRecursive (Paths .get (histDir ));
86
86
} catch (NoSuchFileException ex ) {
87
- LOGGER .log (Level .WARNING , String .format ("directory %s does not exist" , histDir ));
87
+ LOGGER .log (Level .WARNING , String .format ("directory '%s' does not exist" , histDir ));
88
88
} catch (IOException ex ) {
89
89
LOGGER .log (Level .SEVERE , "tried removeRecursive()" , ex );
90
90
}
0 commit comments