Author: cziegeler
Date: Tue Feb 26 12:19:50 2013
New Revision: 1450147

URL: http://svn.apache.org/r1450147
Log:
Remove printer handler and printer manager interface, remove category support 
and use java 1.4 as the base

Modified:
    
felix/trunk/inventory/src/main/java/org/apache/felix/inventory/PrinterMode.java

Modified: 
felix/trunk/inventory/src/main/java/org/apache/felix/inventory/PrinterMode.java
URL: 
http://svn.apache.org/viewvc/felix/trunk/inventory/src/main/java/org/apache/felix/inventory/PrinterMode.java?rev=1450147&r1=1450146&r2=1450147&view=diff
==============================================================================
--- 
felix/trunk/inventory/src/main/java/org/apache/felix/inventory/PrinterMode.java 
(original)
+++ 
felix/trunk/inventory/src/main/java/org/apache/felix/inventory/PrinterMode.java 
Tue Feb 26 12:19:50 2013
@@ -47,13 +47,13 @@ public final class PrinterMode {
     public static PrinterMode valueOf(final String m) {
         if ( TEXT.name().equals(m) ) {
             return TEXT;
-        } else if ( HTML_BODY.equals(m) ) {
+        } else if ( HTML_BODY.name().equals(m) ) {
             return HTML_BODY;
-        } else if ( JSON.equals(m) ) {
+        } else if ( JSON.name().equals(m) ) {
             return JSON;
-        } else if ( ZIP_FILE_TEXT.equals(m) ) {
+        } else if ( ZIP_FILE_TEXT.name().equals(m) ) {
             return ZIP_FILE_TEXT;
-        } else if ( ZIP_FILE_JSON.equals(m) ) {
+        } else if ( ZIP_FILE_JSON.name().equals(m) ) {
             return ZIP_FILE_JSON;
         }
         return null;


Reply via email to