abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From u..@apache.org
Subject svn commit: r539478 - /incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/provider/TargetType.java
Date Fri, 18 May 2007 14:23:18 GMT
Author: ugo
Date: Fri May 18 07:23:17 2007
New Revision: 539478

URL: http://svn.apache.org/viewvc?view=rev&rev=539478
Log:
Added missing check for SERVICE type in TargetType#get method.

Modified:
    incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/provider/TargetType.java

Modified: incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/provider/TargetType.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/provider/TargetType.java?view=diff&rev=539478&r1=539477&r2=539478
==============================================================================
--- incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/provider/TargetType.java
(original)
+++ incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/provider/TargetType.java
Fri May 18 07:23:17 2007
@@ -37,6 +37,7 @@
     if (name == null) return null;
     name = name.toUpperCase();
     if (name.equals(UNKNOWN)) return TYPE_UNKNOWN;
+    if (name.equals(SERVICE)) return TYPE_SERVICE;
     if (name.equals(COLLECTION)) return TYPE_COLLECTION;
     if (name.equals(ENTRY)) return TYPE_ENTRY;
     if (name.equals(MEDIA)) return TYPE_MEDIA;



Mime
View raw message