[Opensrf-commits] r1757 - trunk/src/perl/lib/OpenSRF/Utils (sboyette)

svn at svn.open-ils.org svn at svn.open-ils.org
Fri Aug 28 16:31:33 EDT 2009


Author: sboyette
Date: 2009-08-28 16:31:28 -0400 (Fri, 28 Aug 2009)
New Revision: 1757

Modified:
   trunk/src/perl/lib/OpenSRF/Utils/JSON.pm
Log:
removing _json_hint_to_class

Modified: trunk/src/perl/lib/OpenSRF/Utils/JSON.pm
===================================================================
--- trunk/src/perl/lib/OpenSRF/Utils/JSON.pm	2009-08-28 20:31:27 UTC (rev 1756)
+++ trunk/src/perl/lib/OpenSRF/Utils/JSON.pm	2009-08-28 20:31:28 UTC (rev 1757)
@@ -178,18 +178,4 @@
     return $parser->false();
 }
 
-sub _json_hint_to_class {
-    my $type = shift;
-    my $hint = shift;
-
-    return $_class_map{hints}{$hint}{name} if (exists $_class_map{hints}{$hint});
-
-    $type = 'hash' if ($type eq '}');
-    $type = 'array' if ($type eq ']');
-
-	OpenSRF::Utils::JSON->register_class_hint(name => $hint, hint => $hint, type => $type);
-
-    return $hint;
-}
-
 1;



More information about the opensrf-commits mailing list