devicemap-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From re...@apache.org
Subject svn commit: r1649709 - in /devicemap/trunk/devicemap/java/classifier_w3c_simple: ./ src/main/java/org/apache/devicemap/w3csimple/DeviceMapW3CSimple.java
Date Tue, 06 Jan 2015 01:35:59 GMT
Author: rezan
Date: Tue Jan  6 01:35:59 2015
New Revision: 1649709

URL: http://svn.apache.org/r1649709
Log:
forgot a method

Modified:
    devicemap/trunk/devicemap/java/classifier_w3c_simple/   (props changed)
    devicemap/trunk/devicemap/java/classifier_w3c_simple/src/main/java/org/apache/devicemap/w3csimple/DeviceMapW3CSimple.java

Propchange: devicemap/trunk/devicemap/java/classifier_w3c_simple/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Tue Jan  6 01:35:59 2015
@@ -0,0 +1 @@
+target

Modified: devicemap/trunk/devicemap/java/classifier_w3c_simple/src/main/java/org/apache/devicemap/w3csimple/DeviceMapW3CSimple.java
URL: http://svn.apache.org/viewvc/devicemap/trunk/devicemap/java/classifier_w3c_simple/src/main/java/org/apache/devicemap/w3csimple/DeviceMapW3CSimple.java?rev=1649709&r1=1649708&r2=1649709&view=diff
==============================================================================
--- devicemap/trunk/devicemap/java/classifier_w3c_simple/src/main/java/org/apache/devicemap/w3csimple/DeviceMapW3CSimple.java
(original)
+++ devicemap/trunk/devicemap/java/classifier_w3c_simple/src/main/java/org/apache/devicemap/w3csimple/DeviceMapW3CSimple.java
Tue Jan  6 01:35:59 2015
@@ -88,7 +88,7 @@ public class DeviceMapW3CSimple implemen
 
   @Override
   public PropertyValue getPropertyValue(Evidence evidence, String localPropertyName, String
localAspectName, String vocabularyIRI) throws NameException {
-    throw new UnsupportedOperationException("Not supported yet."); //To change body of generated
methods, choose Tools | Templates.
+    return new DeviceMapPropertyValues(client.classifyDevice(evidence.get(EVIDENCE))).getValue(localPropertyName);
   }
 
   @Override



Mime
View raw message