Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSzymon Ptaszkiewicz2014-07-18 16:51:18 +0000
committerSzymon Ptaszkiewicz2014-07-18 16:51:18 +0000
commit8175b482102af4081bda79c8c81338e4d36da498 (patch)
treebdc21a6fab6b02c46e6951c4f05d91feee7afe56
parent7b0b1f52da9530eb69f7ffe75715d86ef5d7452c (diff)
downloadeclipse.platform.resources-8175b482102af4081bda79c8c81338e4d36da498.tar.gz
eclipse.platform.resources-8175b482102af4081bda79c8c81338e4d36da498.tar.xz
eclipse.platform.resources-8175b482102af4081bda79c8c81338e4d36da498.zip
Bug 431876 - Add all Resources plugins to General > Tracing preference page
Fixed typo and unnecessary reference to class.
-rw-r--r--bundles/org.eclipse.core.resources/src/org/eclipse/core/internal/utils/Policy.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/bundles/org.eclipse.core.resources/src/org/eclipse/core/internal/utils/Policy.java b/bundles/org.eclipse.core.resources/src/org/eclipse/core/internal/utils/Policy.java
index 547775885..08f2735de 100644
--- a/bundles/org.eclipse.core.resources/src/org/eclipse/core/internal/utils/Policy.java
+++ b/bundles/org.eclipse.core.resources/src/org/eclipse/core/internal/utils/Policy.java
@@ -111,7 +111,7 @@ public class Policy {
/**
* Print a debug message to the console.
- * Pre-pend the message with the current date and the name of the current thread.
+ * Prepend the message with the current date and the name of the current thread.
*/
public static void debug(String message) {
StringBuilder output = new StringBuilder();
@@ -125,7 +125,7 @@ public class Policy {
/**
* Print a debug throwable to the console.
- * Pre-pend the throwable with the current date and the name of the current thread.
+ * Prepend the throwable with the current date and the name of the current thread.
*/
public static void debug(Throwable t) {
StringWriter writer = new StringWriter();
@@ -133,7 +133,7 @@ public class Policy {
String str = writer.toString();
if (str.endsWith("\n")) //$NON-NLS-1$
str = str.substring(0, str.length() - 2);
- Policy.debug(str);
+ debug(str);
}
public static void log(int severity, String message, Throwable t) {

Back to the top