// causing some grief
// Platform.run(new ISafeRunnable() {
// public void handleException(Throwable exception) {
- // Util.log(exception, "Exception occurred in classpath container
+ // ProjectPrefUtil.log(exception, "Exception occurred in classpath container
// initializer: "+initializer); //$NON-NLS-1$
// }
// public void run() throws Exception {
// be causing some grief
// Platform.run(new ISafeRunnable() {
// public void handleException(Throwable exception) {
- // Util.log(exception, "Exception occurred in classpath variable
+ // ProjectPrefUtil.log(exception, "Exception occurred in classpath variable
// initializer: "+initializer+" while initializing variable:
// "+variableName); //$NON-NLS-1$ //$NON-NLS-2$
// }
.isExported());
case IResource.FILE:
- // if (Util.isArchiveFileName(resolvedResource.getName())) {
+ // if (ProjectPrefUtil.isArchiveFileName(resolvedResource.getName())) {
// // internal binary archive
// return JavaCore.newLibraryEntry(
// resolvedPath,
// if (JavaModelManager.CP_RESOLVE_VERBOSE){
// System.out.println("CPContainer SET - setting container:
// ["+containerPath+"] for projects: {" //$NON-NLS-1$ //$NON-NLS-2$
- // + (Util.toString(affectedProjects,
- // new Util.Displayable(){
+ // + (ProjectPrefUtil.toString(affectedProjects,
+ // new ProjectPrefUtil.Displayable(){
// public String displayString(Object o) { return ((IJavaProject)
// o).getElementName(); }
// }))
// + "} with values: " //$NON-NLS-1$
- // + (Util.toString(respectiveContainers,
- // new Util.Displayable(){
+ // + (ProjectPrefUtil.toString(respectiveContainers,
+ // new ProjectPrefUtil.Displayable(){
// public String displayString(Object o) { return ((IClasspathContainer)
// o).getDescription(); }
// }))
//
// if (JavaModelManager.CP_RESOLVE_VERBOSE){
// System.out.println("CPVariable SET - setting variables: {" +
- // Util.toString(variableNames) //$NON-NLS-1$
- // + "} with values: " + Util.toString(variablePaths)); //$NON-NLS-1$
+ // ProjectPrefUtil.toString(variableNames) //$NON-NLS-1$
+ // + "} with values: " + ProjectPrefUtil.toString(variablePaths)); //$NON-NLS-1$
// }
//
// int varLength = variableNames.length;
// if (JavaModelManager.CP_RESOLVE_VERBOSE){
// System.out.println("CPVariable SET - updating affected project:
// ["+project.getElementName()+"] due to setting variables: "+
- // Util.toString(dbgVariableNames)); //$NON-NLS-1$ //$NON-NLS-2$
+ // ProjectPrefUtil.toString(dbgVariableNames)); //$NON-NLS-1$ //$NON-NLS-2$
// }
//
// project
// } catch (CoreException e) {
// if (JavaModelManager.CP_RESOLVE_VERBOSE){
// System.out.println("CPVariable SET - FAILED DUE TO EXCEPTION:
- // "+Util.toString(dbgVariableNames)); //$NON-NLS-1$
+ // "+ProjectPrefUtil.toString(dbgVariableNames)); //$NON-NLS-1$
// e.printStackTrace();
// }
// if (e instanceof JavaModelException) {
// // process deltas since last activated in indexer thread so that indexes
// are up-to-date.
// // see https://bugs.eclipse.org/bugs/show_bug.cgi?id=38658
- // Job processSavedState = new Job(Util.bind("savedState.jobName")) {
+ // Job processSavedState = new Job(ProjectPrefUtil.bind("savedState.jobName")) {
// //$NON-NLS-1$
// protected IStatus run(IProgressMonitor monitor) {
// try {