@@ -122,15 +122,13 @@ private static String getTags(File basedir, String path, boolean compressed) {
122
122
} catch (Exception e ) {
123
123
String fnm = compressed ? TandemPath .join (basedir + path , ".gz" ) :
124
124
basedir + path ;
125
- LOGGER .log (Level .WARNING , "An error reading tags from " + fnm , e );
125
+ LOGGER .log (Level .WARNING , String . format ( "An error reading tags from '%s'" , fnm ) , e );
126
126
}
127
127
return "" ;
128
128
}
129
129
130
130
/** Return a reader for the specified xref file. */
131
- private static Reader getXrefReader (
132
- File basedir , String path , boolean compressed )
133
- throws IOException {
131
+ private static Reader getXrefReader (File basedir , String path , boolean compressed ) throws IOException {
134
132
/*
135
133
* For backward compatibility, read the OpenGrok-produced document
136
134
* using the system default charset.
@@ -165,9 +163,9 @@ private static Reader getXrefReader(
165
163
* @throws IOException I/O exception
166
164
* @throws ClassNotFoundException class not found
167
165
*/
168
- public static void prettyPrint (Writer out , SearchHelper sh , int start ,
169
- long end )
166
+ public static void prettyPrint (Writer out , SearchHelper sh , int start , long end )
170
167
throws HistoryException , IOException , ClassNotFoundException {
168
+
171
169
Project p ;
172
170
String contextPath = sh .getContextPath ();
173
171
String ctxE = Util .uriEncodePath (contextPath );
0 commit comments