[Yanel-commits] rev 59469 - public/yanel/trunk/src/core/java/org/wyona/yanel/core

michi at wyona.com michi at wyona.com
Tue Jul 19 11:33:55 CEST 2011


Author: michi
Date: 2011-07-19 11:33:55 +0200 (Tue, 19 Jul 2011)
New Revision: 59469

Modified:
   public/yanel/trunk/src/core/java/org/wyona/yanel/core/ResourceManager.java
Log:
obsolete method removed

Modified: public/yanel/trunk/src/core/java/org/wyona/yanel/core/ResourceManager.java
===================================================================
--- public/yanel/trunk/src/core/java/org/wyona/yanel/core/ResourceManager.java	2011-07-19 09:15:40 UTC (rev 59468)
+++ public/yanel/trunk/src/core/java/org/wyona/yanel/core/ResourceManager.java	2011-07-19 09:33:55 UTC (rev 59469)
@@ -138,23 +138,6 @@
     }
 
     /**
-     * Returns the abstraction of the rti file for the given path in the realm.
-     * TODO: move this method to some RTIManager class ?
-     * @deprecated
-     */
-    public ResourceTypeIdentifier getResourceTypeIdentifier(Realm realm, String path) throws Exception {
-        log.debug("Original path: " + path);
-        try {
-            Reader reader = realm.getRTIRepository().getReader(new Path(PathUtil.getRTIPath(path)));
-            return new ResourceTypeIdentifier(reader);
-        } catch(NoSuchNodeException e) {
-            log.warn(e.getMessage());
-            log.warn("TODO: Implement chain of responsibility ...");
-            return new ResourceTypeIdentifier("<{http://www.wyona.org/yanel/resource/1.0}file/>", null);
-        } 
-    }
-    
-    /**
      * Passes request parameter to a resource.
      * String parameters will be decoded.
      * File upload parameters of multipart requests won't be passed.



More information about the Yanel-commits mailing list