removed unused class

This commit is contained in:
Peter Veentjer 2011-06-29 23:24:44 +03:00
parent 9297480ae1
commit b75a92c843

View file

@ -1,25 +0,0 @@
/**
* Copyright (C) 2009-2010 Scalable Solutions AB <http://scalablesolutions.se>
*/
package akka.spring
object StringReflect {
/**
* Implicit conversion from String to StringReflect.
*/
implicit def string2StringReflect(x: String) = new StringReflect(x)
}
/**
* Reflection helper class.
* @author michaelkober
*/
class StringReflect(val self: String) {
if ((self eq null) || self == "") throw new IllegalArgumentException("Class name can't be null or empty string [" + self + "]")
def toClass[T <: AnyRef]: Class[T] = {
val clazz = Class.forName(self)
clazz.asInstanceOf[Class[T]]
}
}