Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan D. Brooks2011-08-02 20:05:44 +0000
committerRyan D. Brooks2011-08-02 20:05:44 +0000
commit5618fe9dd7eb79ae3118d1e874aace2ce208bec8 (patch)
treebc6fce7bf67baca7c3ecb0279133657eb90eb66b /plugins/org.eclipse.osee.framework.ui.swt
parent38f5425454f60d085a2ad10b340b63a5c1562378 (diff)
downloadorg.eclipse.osee-5618fe9dd7eb79ae3118d1e874aace2ce208bec8.tar.gz
org.eclipse.osee-5618fe9dd7eb79ae3118d1e874aace2ce208bec8.tar.xz
org.eclipse.osee-5618fe9dd7eb79ae3118d1e874aace2ce208bec8.zip
refactor: Replace OseeLog.log() calls that use String.format with OseeLog.logf
Diffstat (limited to 'plugins/org.eclipse.osee.framework.ui.swt')
-rw-r--r--plugins/org.eclipse.osee.framework.ui.swt/src/org/eclipse/osee/framework/ui/swt/ImageManager.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.osee.framework.ui.swt/src/org/eclipse/osee/framework/ui/swt/ImageManager.java b/plugins/org.eclipse.osee.framework.ui.swt/src/org/eclipse/osee/framework/ui/swt/ImageManager.java
index 558b2c27c94..4da9088e059 100644
--- a/plugins/org.eclipse.osee.framework.ui.swt/src/org/eclipse/osee/framework/ui/swt/ImageManager.java
+++ b/plugins/org.eclipse.osee.framework.ui.swt/src/org/eclipse/osee/framework/ui/swt/ImageManager.java
@@ -68,8 +68,8 @@ public final class ImageManager {
if (getImageRegistry().getDescriptor(imageKey) == null) {
ImageDescriptor imageDescriptor = imageEnum.createImageDescriptor();
if (imageDescriptor == null && !System.getProperty("isInTest").equals("true")) {
- OseeLog.log(Activator.class, Level.SEVERE,
- String.format("Unable to load the image for [%s]", imageEnum.toString()));
+ OseeLog.logf(Activator.class, Level.SEVERE,
+ "Unable to load the image for [%s]", imageEnum.toString());
return setupImage(MISSING);
}
storeOnImageRegistry(imageKey, imageDescriptor);

Back to the top