[Fb-contrib-commit] SF.net SVN: fb-contrib: [904] trunk/fb-contrib/src/com/mebigfatguy/ fbcontrib
Brought to you by:
dbrosius
From: <dbr...@us...> - 2007-09-15 04:44:32
|
Revision: 904 http://fb-contrib.svn.sourceforge.net/fb-contrib/?rev=904&view=rev Author: dbrosius Date: 2007-09-14 21:44:35 -0700 (Fri, 14 Sep 2007) Log Message: ----------- add mime-types Modified Paths: -------------- trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/collect/CollectStatistics.java trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/collect/Statistics.java trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/MethodReturnsConstant.java trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/utils/Integer14.java trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/utils/MapEntry.java trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/utils/SignatureUtils.java trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/utils/VersionTransition.java Property Changed: ---------------- trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/collect/CollectStatistics.java trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/collect/Statistics.java trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/utils/Integer14.java trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/utils/MapEntry.java trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/utils/SignatureUtils.java trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/utils/VersionTransition.java Modified: trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/collect/CollectStatistics.java =================================================================== --- trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/collect/CollectStatistics.java 2007-09-15 04:42:59 UTC (rev 903) +++ trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/collect/CollectStatistics.java 2007-09-15 04:44:35 UTC (rev 904) @@ -1,59 +1,59 @@ -/* - * fb-contrib - Auxilliary detectors for Java programs - * Copyright (C) 2005-2007 Dave Brosius - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -package com.mebigfatguy.fbcontrib.collect; - -import org.apache.bcel.classfile.Code; - -import edu.umd.cs.findbugs.BugReporter; -import edu.umd.cs.findbugs.BytecodeScanningDetector; -import edu.umd.cs.findbugs.NonReportingDetector; - -public class CollectStatistics extends BytecodeScanningDetector implements NonReportingDetector -{ - private int numMethodCalls; - - @SuppressWarnings("unused") - public CollectStatistics(BugReporter bugReporter) { - Statistics.getStatistics().clear(); - } - - @Override - public void visitCode(Code obj) { - - numMethodCalls = 0; - - byte[] code = obj.getCode(); - if (code != null) { - super.visitCode(obj); - Statistics.getStatistics().addMethodStatistics(getClassName(), getMethodName(), getMethodSig(), new Statistics.MethodInfo(code.length, numMethodCalls)); - } - } - - @Override - public void sawOpcode(int seen) { - switch (seen) { - case INVOKEVIRTUAL: - case INVOKEINTERFACE: - case INVOKESPECIAL: - case INVOKESTATIC: - numMethodCalls++; - break; - } - } -} +/* + * fb-contrib - Auxilliary detectors for Java programs + * Copyright (C) 2005-2007 Dave Brosius + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ +package com.mebigfatguy.fbcontrib.collect; + +import org.apache.bcel.classfile.Code; + +import edu.umd.cs.findbugs.BugReporter; +import edu.umd.cs.findbugs.BytecodeScanningDetector; +import edu.umd.cs.findbugs.NonReportingDetector; + +public class CollectStatistics extends BytecodeScanningDetector implements NonReportingDetector +{ + private int numMethodCalls; + + @SuppressWarnings("unused") + public CollectStatistics(BugReporter bugReporter) { + Statistics.getStatistics().clear(); + } + + @Override + public void visitCode(Code obj) { + + numMethodCalls = 0; + + byte[] code = obj.getCode(); + if (code != null) { + super.visitCode(obj); + Statistics.getStatistics().addMethodStatistics(getClassName(), getMethodName(), getMethodSig(), new Statistics.MethodInfo(code.length, numMethodCalls)); + } + } + + @Override + public void sawOpcode(int seen) { + switch (seen) { + case INVOKEVIRTUAL: + case INVOKEINTERFACE: + case INVOKESPECIAL: + case INVOKESTATIC: + numMethodCalls++; + break; + } + } +} Property changes on: trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/collect/CollectStatistics.java ___________________________________________________________________ Name: svn:eol-style + native Modified: trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/collect/Statistics.java =================================================================== --- trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/collect/Statistics.java 2007-09-15 04:42:59 UTC (rev 903) +++ trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/collect/Statistics.java 2007-09-15 04:44:35 UTC (rev 904) @@ -1,97 +1,97 @@ -/* - * fb-contrib - Auxilliary detectors for Java programs - * Copyright (C) 2005-2007 Dave Brosius - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -package com.mebigfatguy.fbcontrib.collect; - -import java.util.HashMap; -import java.util.Map; - -public class Statistics { - - private static Statistics statistics = new Statistics(); - - private Map<Long, Long> methodStatistics = new HashMap<Long, Long>(); - - private Statistics() { - - } - - public static Statistics getStatistics() { - return statistics; - } - - public void clear() { - methodStatistics.clear(); - } - - public void addMethodStatistics(String className, String methodName, String signature, MethodInfo methodInfo) { - Long key = getKey(className, methodName, signature); - if (methodStatistics.containsKey(key)) - methodStatistics.put(key, getValue(new MethodInfo())); - else - methodStatistics.put(getKey(className, methodName, signature), getValue(methodInfo)); - } - - public MethodInfo getMethodStatistics(String className, String methodName, String signature) { - Long v = methodStatistics.get(getKey(className, methodName, signature)); - if (v == null) - return new MethodInfo(); - else - return buildMethodInfo(v); - } - - private Long getKey(String className, String methodName, String signature) { - long hashCode = className.hashCode(); - hashCode <<= 16; - hashCode |= methodName.hashCode(); - hashCode <<= 16; - hashCode |= signature.hashCode(); - return new Long(hashCode); - } - - private Long getValue(MethodInfo methodInfo) { - long value = methodInfo.numBytes; - value <<= 32; - value |= methodInfo.numMethodCalls; - return new Long(value); - } - - private MethodInfo buildMethodInfo(Long value) { - MethodInfo mi = new MethodInfo(); - long v = value.longValue(); - mi.numBytes = (int)(v >>> 32); - mi.numMethodCalls = (int)(v & 0x7FFFFFFF); - return mi; - } - - public static class MethodInfo - { - public int numBytes; - public int numMethodCalls; - - public MethodInfo() { - numBytes = 0; - numMethodCalls = 0; - } - - public MethodInfo(int bytes, int calls) { - numBytes = bytes; - numMethodCalls = calls; - } - } -} +/* + * fb-contrib - Auxilliary detectors for Java programs + * Copyright (C) 2005-2007 Dave Brosius + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ +package com.mebigfatguy.fbcontrib.collect; + +import java.util.HashMap; +import java.util.Map; + +public class Statistics { + + private static Statistics statistics = new Statistics(); + + private Map<Long, Long> methodStatistics = new HashMap<Long, Long>(); + + private Statistics() { + + } + + public static Statistics getStatistics() { + return statistics; + } + + public void clear() { + methodStatistics.clear(); + } + + public void addMethodStatistics(String className, String methodName, String signature, MethodInfo methodInfo) { + Long key = getKey(className, methodName, signature); + if (methodStatistics.containsKey(key)) + methodStatistics.put(key, getValue(new MethodInfo())); + else + methodStatistics.put(getKey(className, methodName, signature), getValue(methodInfo)); + } + + public MethodInfo getMethodStatistics(String className, String methodName, String signature) { + Long v = methodStatistics.get(getKey(className, methodName, signature)); + if (v == null) + return new MethodInfo(); + else + return buildMethodInfo(v); + } + + private Long getKey(String className, String methodName, String signature) { + long hashCode = className.hashCode(); + hashCode <<= 16; + hashCode |= methodName.hashCode(); + hashCode <<= 16; + hashCode |= signature.hashCode(); + return new Long(hashCode); + } + + private Long getValue(MethodInfo methodInfo) { + long value = methodInfo.numBytes; + value <<= 32; + value |= methodInfo.numMethodCalls; + return new Long(value); + } + + private MethodInfo buildMethodInfo(Long value) { + MethodInfo mi = new MethodInfo(); + long v = value.longValue(); + mi.numBytes = (int)(v >>> 32); + mi.numMethodCalls = (int)(v & 0x7FFFFFFF); + return mi; + } + + public static class MethodInfo + { + public int numBytes; + public int numMethodCalls; + + public MethodInfo() { + numBytes = 0; + numMethodCalls = 0; + } + + public MethodInfo(int bytes, int calls) { + numBytes = bytes; + numMethodCalls = calls; + } + } +} Property changes on: trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/collect/Statistics.java ___________________________________________________________________ Name: svn:eol-style + native Modified: trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/MethodReturnsConstant.java =================================================================== --- trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/MethodReturnsConstant.java 2007-09-15 04:42:59 UTC (rev 903) +++ trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/MethodReturnsConstant.java 2007-09-15 04:44:35 UTC (rev 904) @@ -30,7 +30,7 @@ /** * looks for private methods that can only return one constant value. - * either the class should return a value, or perhaps a branch was missed. + * either the class should not return a value, or perhaps a branch was missed. */ public class MethodReturnsConstant extends BytecodeScanningDetector { Modified: trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/utils/Integer14.java =================================================================== --- trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/utils/Integer14.java 2007-09-15 04:42:59 UTC (rev 903) +++ trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/utils/Integer14.java 2007-09-15 04:44:35 UTC (rev 904) @@ -1,41 +1,41 @@ -/* - * fb-contrib - Auxilliary detectors for Java programs - * Copyright (C) 2005-2007 Dave Brosius - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -package com.mebigfatguy.fbcontrib.utils; - -public class Integer14 -{ - public static final int MIN_CACHE = -10; - public static final int MAX_CACHE = 256; - - private static final Integer[] cachedInts = new Integer[MAX_CACHE-MIN_CACHE+1]; - static { - for (int i = MIN_CACHE; i <= MAX_CACHE; i++) - cachedInts[i-MIN_CACHE] = new Integer(i); - } - - private Integer14() - {} - - public static Integer valueOf(int i) - { - if ((i < MIN_CACHE) || (i > MAX_CACHE)) - return new Integer(i); - return cachedInts[i-MIN_CACHE]; - } -} +/* + * fb-contrib - Auxilliary detectors for Java programs + * Copyright (C) 2005-2007 Dave Brosius + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ +package com.mebigfatguy.fbcontrib.utils; + +public class Integer14 +{ + public static final int MIN_CACHE = -10; + public static final int MAX_CACHE = 256; + + private static final Integer[] cachedInts = new Integer[MAX_CACHE-MIN_CACHE+1]; + static { + for (int i = MIN_CACHE; i <= MAX_CACHE; i++) + cachedInts[i-MIN_CACHE] = new Integer(i); + } + + private Integer14() + {} + + public static Integer valueOf(int i) + { + if ((i < MIN_CACHE) || (i > MAX_CACHE)) + return new Integer(i); + return cachedInts[i-MIN_CACHE]; + } +} Property changes on: trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/utils/Integer14.java ___________________________________________________________________ Name: svn:eol-style + native Modified: trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/utils/MapEntry.java =================================================================== --- trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/utils/MapEntry.java 2007-09-15 04:42:59 UTC (rev 903) +++ trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/utils/MapEntry.java 2007-09-15 04:44:35 UTC (rev 904) @@ -1,55 +1,55 @@ -/* - * fb-contrib - Auxilliary detectors for Java programs - * Copyright (C) 2005-2007 Dave Brosius - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -package com.mebigfatguy.fbcontrib.utils; - -import java.util.Map.Entry; - -/** - * a simple implementation of the Map.Entry interface - */ -public class MapEntry<K,V> implements Entry<K,V> { - - private K key; - private V value; - - public MapEntry() { - key = null; - value = null; - } - - public MapEntry(K k, V v) { - key = k; - value = v; - } - - public K getKey() { - return key; - } - - public V getValue() { - return value; - } - - public V setValue(V v) { - V temp = value; - value = v; - return temp; - } - -} +/* + * fb-contrib - Auxilliary detectors for Java programs + * Copyright (C) 2005-2007 Dave Brosius + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ +package com.mebigfatguy.fbcontrib.utils; + +import java.util.Map.Entry; + +/** + * a simple implementation of the Map.Entry interface + */ +public class MapEntry<K,V> implements Entry<K,V> { + + private K key; + private V value; + + public MapEntry() { + key = null; + value = null; + } + + public MapEntry(K k, V v) { + key = k; + value = v; + } + + public K getKey() { + return key; + } + + public V getValue() { + return value; + } + + public V setValue(V v) { + V temp = value; + value = v; + return temp; + } + +} Property changes on: trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/utils/MapEntry.java ___________________________________________________________________ Name: svn:eol-style + native Modified: trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/utils/SignatureUtils.java =================================================================== --- trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/utils/SignatureUtils.java 2007-09-15 04:42:59 UTC (rev 903) +++ trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/utils/SignatureUtils.java 2007-09-15 04:44:35 UTC (rev 904) @@ -1,57 +1,57 @@ -/* - * fb-contrib - Auxilliary detectors for Java programs - * Copyright (C) 2005-2007 Dave Brosius - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -package com.mebigfatguy.fbcontrib.utils; - -import org.apache.bcel.classfile.JavaClass; -import org.apache.bcel.classfile.Method; - -public class SignatureUtils { - - public static boolean isInheritedMethod(JavaClass cls, String methodName, String signature) throws ClassNotFoundException { - JavaClass[] infs = cls.getAllInterfaces(); - if (findInheritedMethod(infs, methodName, signature) != null) { - return true; - } - - JavaClass[] supers = cls.getSuperClasses(); - for (int i = 0; i < supers.length; i++) { - if ("java.lang.Object".equals(supers[i].getClassName())) { - supers[i] = null; - } - } - return findInheritedMethod(supers, methodName, signature) != null; - } - - private static JavaClass findInheritedMethod(JavaClass[] classes, String methodName, String signature) { - for (JavaClass cls : classes) { - if (cls != null) { - Method[] methods = cls.getMethods(); - for (Method m : methods) { - if (!m.isPrivate()) { - if (m.getName().equals(methodName)) { - if (m.getSignature().equals(signature)) - return cls; - } - } - } - } - } - return null; - } -} +/* + * fb-contrib - Auxilliary detectors for Java programs + * Copyright (C) 2005-2007 Dave Brosius + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ +package com.mebigfatguy.fbcontrib.utils; + +import org.apache.bcel.classfile.JavaClass; +import org.apache.bcel.classfile.Method; + +public class SignatureUtils { + + public static boolean isInheritedMethod(JavaClass cls, String methodName, String signature) throws ClassNotFoundException { + JavaClass[] infs = cls.getAllInterfaces(); + if (findInheritedMethod(infs, methodName, signature) != null) { + return true; + } + + JavaClass[] supers = cls.getSuperClasses(); + for (int i = 0; i < supers.length; i++) { + if ("java.lang.Object".equals(supers[i].getClassName())) { + supers[i] = null; + } + } + return findInheritedMethod(supers, methodName, signature) != null; + } + + private static JavaClass findInheritedMethod(JavaClass[] classes, String methodName, String signature) { + for (JavaClass cls : classes) { + if (cls != null) { + Method[] methods = cls.getMethods(); + for (Method m : methods) { + if (!m.isPrivate()) { + if (m.getName().equals(methodName)) { + if (m.getSignature().equals(signature)) + return cls; + } + } + } + } + } + return null; + } +} Property changes on: trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/utils/SignatureUtils.java ___________________________________________________________________ Name: svn:eol-style + native Modified: trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/utils/VersionTransition.java =================================================================== --- trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/utils/VersionTransition.java 2007-09-15 04:42:59 UTC (rev 903) +++ trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/utils/VersionTransition.java 2007-09-15 04:44:35 UTC (rev 904) @@ -1,28 +1,28 @@ -/* - * fb-contrib - Auxilliary detectors for Java programs - * Copyright (C) 2005-2007 Dave Brosius - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -package com.mebigfatguy.fbcontrib.utils; - - -/** - * supports different versions/changes to the FindBugs.jar file, by using reflection, etc - * to use different signatures. - */ -public class VersionTransition { - -} +/* + * fb-contrib - Auxilliary detectors for Java programs + * Copyright (C) 2005-2007 Dave Brosius + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ +package com.mebigfatguy.fbcontrib.utils; + + +/** + * supports different versions/changes to the FindBugs.jar file, by using reflection, etc + * to use different signatures. + */ +public class VersionTransition { + +} Property changes on: trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/utils/VersionTransition.java ___________________________________________________________________ Name: svn:eol-style + native This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |