@@ -240,22 +240,22 @@ public IStatus processFile(List<IFile> sameFiles, IProgressMonitor monitor) {
240
240
}
241
241
}
242
242
} catch (UnsupportedCharsetException e ) {
243
- String [] args = { getCharSetName (file ), file .getFullPath ().makeRelative ().toString ()};
243
+ Object [] args = { getCharSetName (file ), file .getFullPath ().makeRelative ().toString ()};
244
244
String message = MessageFormat .format (SearchCoreMessages .TextSearchVisitor_unsupportedcharset , args );
245
245
return new Status (IStatus .ERROR , SearchCorePlugin .PLUGIN_ID , IStatus .ERROR , message , e );
246
246
} catch (IllegalCharsetNameException e ) {
247
- String [] args = { getCharSetName (file ), file .getFullPath ().makeRelative ().toString ()};
247
+ Object [] args = { getCharSetName (file ), file .getFullPath ().makeRelative ().toString ()};
248
248
String message = MessageFormat .format (SearchCoreMessages .TextSearchVisitor_illegalcharset , args );
249
249
return new Status (IStatus .ERROR , SearchCorePlugin .PLUGIN_ID , IStatus .ERROR , message , e );
250
250
} catch (IOException e ) {
251
- String [] args = { getExceptionMessage (e ), file .getFullPath ().makeRelative ().toString ()};
251
+ Object [] args = { getExceptionMessage (e ), file .getFullPath ().makeRelative ().toString ()};
252
252
String message = MessageFormat .format (SearchCoreMessages .TextSearchVisitor_error , args );
253
253
return new Status (IStatus .ERROR , SearchCorePlugin .PLUGIN_ID , IStatus .ERROR , message , e );
254
254
} catch (CoreException e ) {
255
255
if (fIsLightweightAutoRefresh && IResourceStatus .RESOURCE_NOT_FOUND == e .getStatus ().getCode ()) {
256
256
return monitor .isCanceled () ? Status .CANCEL_STATUS : Status .OK_STATUS ;
257
257
}
258
- String [] args = { getExceptionMessage (e ), file .getFullPath ().makeRelative ().toString () };
258
+ Object [] args = { getExceptionMessage (e ), file .getFullPath ().makeRelative ().toString () };
259
259
String message = MessageFormat .format (SearchCoreMessages .TextSearchVisitor_error , args );
260
260
return new Status (IStatus .ERROR , SearchCorePlugin .PLUGIN_ID , IStatus .ERROR , message , e );
261
261
} catch (StackOverflowError e ) {
0 commit comments