
package com.exedio.cope.lib;

import java.util.Collections;
import java.util.List;

public final class IntegerAttribute extends Attribute
{
	protected List createColumns(final String name, final boolean notNull)
	{
		return Collections.singletonList(new IntegerColumn(getType(), name, notNull, 20, null));
	}
	
	Object cacheToSurface(final Object cache)
	{
		return (Integer)cache;
	}
		
	Object surfaceToCache(final Object surface)
	{
		return (Integer)surface;
	}
	
}

@@ -292,9 +292,9 @@
 ll, 
-2
+1
 0, n

change precision to the smallest possible value