PageRenderTime 57ms CodeModel.GetById 50ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/sitebricks-converter/src/test/java/com/google/sitebricks/conversion/TestTypeConverter.java

http://github.com/dhanji/sitebricks
Java | 15 lines | 9 code | 3 blank | 3 comment | 0 complexity | 13ceeb0bb7ec7393dc8865721361e8fc MD5 | raw file
 1package com.google.sitebricks.conversion;
 2
 3import java.lang.reflect.Type;
 4
 5import com.google.sitebricks.conversion.TypeConverter;
 6
 7/**
 8 * @author Dhanji R. Prasanna (dhanji@gmail.com)
 9 */
10public class TestTypeConverter implements TypeConverter {
11    @SuppressWarnings("unchecked")
12	public <T> T convert(Object raw, Type type) {
13        return (T) this;
14    }
15}