Blame 0002-Fix-xbean-compatibility.patch
|
Stanislav Ochotnicky |
068838f |
From 6ffdfd242299afb283d619c8ff9d5ce96853f160 Mon Sep 17 00:00:00 2001
|
|
Stanislav Ochotnicky |
068838f |
From: Stanislav Ochotnicky <sochotnicky@redhat.com>
|
|
Stanislav Ochotnicky |
068838f |
Date: Thu, 19 Jan 2012 17:12:42 +0100
|
|
Stanislav Ochotnicky |
068838f |
Subject: [PATCH 2/3] Fix xbean compatibility
|
|
Stanislav Ochotnicky |
068838f |
|
|
Stanislav Ochotnicky |
068838f |
---
|
|
Stanislav Ochotnicky |
068838f |
.../org/fusesource/hawtjni/generator/HawtJNI.java | 2 +-
|
|
Stanislav Ochotnicky |
068838f |
1 files changed, 1 insertions(+), 1 deletions(-)
|
|
Stanislav Ochotnicky |
068838f |
|
|
Stanislav Ochotnicky |
068838f |
diff --git a/hawtjni-generator/src/main/java/org/fusesource/hawtjni/generator/HawtJNI.java b/hawtjni-generator/src/main/java/org/fusesource/hawtjni/generator/HawtJNI.java
|
|
Stanislav Ochotnicky |
068838f |
index b4727c2..bf710eb 100755
|
|
Stanislav Ochotnicky |
068838f |
--- a/hawtjni-generator/src/main/java/org/fusesource/hawtjni/generator/HawtJNI.java
|
|
Stanislav Ochotnicky |
068838f |
+++ b/hawtjni-generator/src/main/java/org/fusesource/hawtjni/generator/HawtJNI.java
|
|
Stanislav Ochotnicky |
068838f |
@@ -402,7 +402,7 @@ public class HawtJNI {
|
|
Stanislav Ochotnicky |
068838f |
|
|
Stanislav Ochotnicky |
068838f |
@SuppressWarnings("unchecked")
|
|
Stanislav Ochotnicky |
068838f |
private void collectMatchingClasses(ClassFinder finder, Class annotation, LinkedHashSet<Class<?>> collector) {
|
|
Stanislav Ochotnicky |
068838f |
- List<Class> annotated = finder.findAnnotatedClasses(annotation);
|
|
Stanislav Ochotnicky |
068838f |
+ List<Class<?>> annotated = finder.findAnnotatedClasses(annotation);
|
|
Stanislav Ochotnicky |
068838f |
for (Class clazz : annotated) {
|
|
Stanislav Ochotnicky |
068838f |
if( packages.isEmpty() ) {
|
|
Stanislav Ochotnicky |
068838f |
collector.add(clazz);
|
|
Stanislav Ochotnicky |
068838f |
--
|
|
Stanislav Ochotnicky |
068838f |
1.7.7.4
|
|
Stanislav Ochotnicky |
068838f |
|