< prev index next >
modules/javafx.web/src/main/java/com/sun/webkit/LocalizedStrings.java
Print this page
@@ -23,32 +23,31 @@
* questions.
*/
package com.sun.webkit;
+import com.sun.javafx.logging.PlatformLogger;
import java.util.Locale;
import java.util.ResourceBundle;
-import java.util.logging.Level;
-import java.util.logging.Logger;
final class LocalizedStrings {
- private final static Logger log =
- Logger.getLogger(LocalizedStrings.class.getName());
+ private final static PlatformLogger log =
+ PlatformLogger.getLogger(LocalizedStrings.class.getName());
private final static ResourceBundle BUNDLE =
ResourceBundle.getBundle("com.sun.webkit.LocalizedStrings",
Locale.getDefault());
/** Private ctor to avoid unexpected instantiation */
private LocalizedStrings() {}
private static String getLocalizedProperty(String propName) {
- log.log(Level.FINE, "Get property: " + propName);
+ log.fine("Get property: " + propName);
String propValue = BUNDLE.getString(propName);
if ((propValue != null) && (propValue.trim().length() > 0)) {
- log.log(Level.FINE, "Property value: " + propValue);
+ log.fine("Property value: " + propValue);
return propValue.trim();
}
- log.log(Level.FINE, "Unknown property value");
+ log.fine("Unknown property value");
return null;
}
}
< prev index next >