Lines 2955-2961
Link Here
|
2955 |
catch (CoreException ce) { |
2955 |
catch (CoreException ce) { |
2956 |
// fails silently and return plugin global encoding if core exception occurs |
2956 |
// fails silently and return plugin global encoding if core exception occurs |
2957 |
} |
2957 |
} |
2958 |
return ResourcesPlugin.getEncoding(); |
2958 |
|
|
|
2959 |
try { |
2960 |
return ResourcesPlugin.getEncoding(); |
2961 |
} |
2962 |
catch (NullPointerException npe) { |
2963 |
// fails silently and returns the system's file encoding |
2964 |
return System.getProperty("file.encoding"); //$NON-NLS-1$ |
2965 |
} |
2959 |
} |
2966 |
} |
2960 |
|
2967 |
|
2961 |
/** |
2968 |
/** |