Marked the getTypeInfoForField() method package private as it was inadvertently marked public.

Removed commented out code in pom.xml that is now obsoleted with sonatype syncing.
This commit is contained in:
Inderjeet Singh 2011-04-06 00:13:31 +00:00
parent b4eb810347
commit 8d3bfc0f47
2 changed files with 1 additions and 15 deletions

View File

@ -17,20 +17,6 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<!-- distributionManagement>
// Disabled for automatic integration with Sonatype
<repository>
<id>local.repo</id>
<name>file repository to svn</name>
<url>file://${basedir}/../../mavenrepo</url>
</repository>
</distributionManagement>
<repositories>
<repository>
<id>gson</id>
<url> http://google-gson.googlecode.com/svn/mavenrepo/ </url>
</repository>
</repositories-->
<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>

View File

@ -254,7 +254,7 @@ public final class FieldAttributes {
* @param typeDefiningF the type that contains the field {@code f}
* @return the type information for the field
*/
public static Type getTypeInfoForField(Field f, Type typeDefiningF) {
static Type getTypeInfoForField(Field f, Type typeDefiningF) {
Class<?> rawType = $Types.getRawType(typeDefiningF);
if (!f.getDeclaringClass().isAssignableFrom(rawType)) {
// this field is unrelated to the type; the user probably omitted type information