Skip to content

Instantly share code, notes, and snippets.

View amanica's full-sized avatar

Marius Kruger amanica

View GitHub Profile
@amanica
amanica / gist:1143073
Created August 12, 2011 21:35
backport tiny changes from openejb trunk to 3.2 to make it compile for me in eclipse
=== modified file 'container/openejb-core/src/main/java/org/apache/openejb/assembler/classic/ValidatorBuilder.java'
--- container/openejb-core/src/main/java/org/apache/openejb/assembler/classic/ValidatorBuilder.java 2011-05-10 11:55:23 +0000
+++ container/openejb-core/src/main/java/org/apache/openejb/assembler/classic/ValidatorBuilder.java 2011-08-12 21:15:51 +0000
@@ -97,6 +97,7 @@
return factory;
}
+ @SuppressWarnings("unchecked")
private static Configuration<?> getConfig(ValidationInfo info) {
Configuration<?> target = null;