@@ -183,42 +183,42 @@ private HistoryRevResult getHistoryRev(OutputStream out, String fullpath, String
183
183
@ Override
184
184
boolean getHistoryGet (OutputStream out , String parent , String basename , String rev ) {
185
185
186
- String fullpath ;
186
+ String fullPath ;
187
187
try {
188
- fullpath = new File (parent , basename ).getCanonicalPath ();
188
+ fullPath = new File (parent , basename ).getCanonicalPath ();
189
189
} catch (IOException e ) {
190
190
LOGGER .log (Level .WARNING , e , () -> String .format (
191
191
"Failed to get canonical path: %s/%s" , parent , basename ));
192
192
return false ;
193
193
}
194
194
195
- HistoryRevResult result = getHistoryRev (out , fullpath , rev );
195
+ HistoryRevResult result = getHistoryRev (out , fullPath , rev );
196
196
if (!result .success && result .iterations < 1 ) {
197
197
/*
198
198
* If we failed to get the contents it might be that the file was
199
199
* renamed so we need to find its original name in that revision
200
200
* and retry with the original name.
201
201
*/
202
- String origpath ;
202
+ String origPath ;
203
203
try {
204
- origpath = findOriginalName (fullpath , rev );
204
+ origPath = findOriginalName (fullPath , rev );
205
205
} catch (IOException exp ) {
206
206
LOGGER .log (Level .SEVERE , exp , () -> String .format (
207
207
"Failed to get original revision: %s/%s (revision %s)" ,
208
208
parent , basename , rev ));
209
209
return false ;
210
210
}
211
211
212
- if (origpath != null ) {
212
+ if (origPath != null ) {
213
213
String fullRenamedPath ;
214
214
try {
215
- fullRenamedPath = Paths .get (getCanonicalDirectoryName (), origpath ).toString ();
215
+ fullRenamedPath = Paths .get (getCanonicalDirectoryName (), origPath ).toString ();
216
216
} catch (IOException e ) {
217
217
LOGGER .log (Level .WARNING , e , () -> String .format (
218
- "Failed to get canonical path: .../%s" , origpath ));
218
+ "Failed to get canonical path: .../%s" , origPath ));
219
219
return false ;
220
220
}
221
- if (!fullRenamedPath .equals (fullpath )) {
221
+ if (!fullRenamedPath .equals (fullPath )) {
222
222
result = getHistoryRev (out , fullRenamedPath , rev );
223
223
}
224
224
}
0 commit comments