diff --git a/spring-aop/src/main/java/org/springframework/aop/framework/DefaultAopProxyFactory.java b/spring-aop/src/main/java/org/springframework/aop/framework/DefaultAopProxyFactory.java
index 5d3640677a..b00eafce08 100644
--- a/spring-aop/src/main/java/org/springframework/aop/framework/DefaultAopProxyFactory.java
+++ b/spring-aop/src/main/java/org/springframework/aop/framework/DefaultAopProxyFactory.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2002-2012 the original author or authors.
+ * Copyright 2002-2013 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -48,7 +48,6 @@ import org.springframework.aop.SpringProxy;
@SuppressWarnings("serial")
public class DefaultAopProxyFactory implements AopProxyFactory, Serializable {
-
@Override
public AopProxy createAopProxy(AdvisedSupport config) throws AopConfigException {
if (config.isOptimize() || config.isProxyTargetClass() || hasNoUserSuppliedProxyInterfaces(config)) {
diff --git a/spring-context/src/main/java/org/springframework/context/annotation/ConfigurationClass.java b/spring-context/src/main/java/org/springframework/context/annotation/ConfigurationClass.java
index 9138e2357f..38f6aaac2b 100644
--- a/spring-context/src/main/java/org/springframework/context/annotation/ConfigurationClass.java
+++ b/spring-context/src/main/java/org/springframework/context/annotation/ConfigurationClass.java
@@ -152,7 +152,7 @@ final class ConfigurationClass {
* @see #getImportedBy()
*/
public boolean isImported() {
- return this.importedBy != null;
+ return (this.importedBy != null);
}
/**
@@ -162,7 +162,7 @@ final class ConfigurationClass {
* @see #isImported()
*/
public ConfigurationClass getImportedBy() {
- return importedBy;
+ return this.importedBy;
}
public void addBeanMethod(BeanMethod method) {
@@ -203,7 +203,7 @@ final class ConfigurationClass {
for (BeanMethod beanMethod : this.beanMethods) {
String fqMethodName = beanMethod.getFullyQualifiedMethodName();
Integer currentCount = methodNameCounts.get(fqMethodName);
- int newCount = currentCount != null ? currentCount + 1 : 1;
+ int newCount = (currentCount != null ? currentCount + 1 : 1);
methodNameCounts.put(fqMethodName, newCount);
}
for (String fqMethodName : methodNameCounts.keySet()) {
diff --git a/spring-oxm/src/test/resources/org/springframework/oxm/config/oxmNamespaceHandlerTest.xml b/spring-oxm/src/test/resources/org/springframework/oxm/config/oxmNamespaceHandlerTest.xml
index 9e7385f5ae..1575171042 100644
--- a/spring-oxm/src/test/resources/org/springframework/oxm/config/oxmNamespaceHandlerTest.xml
+++ b/spring-oxm/src/test/resources/org/springframework/oxm/config/oxmNamespaceHandlerTest.xml
@@ -1,12 +1,11 @@
-
+
@@ -17,22 +16,22 @@
-
+
-
-
+
+
-
+
-
+
-
+
+ mapping-location="classpath:org/springframework/oxm/castor/mapping.xml"/>
+
diff --git a/spring-web/src/main/java/org/springframework/http/MediaType.java b/spring-web/src/main/java/org/springframework/http/MediaType.java
index fd9036d587..fee2336466 100644
--- a/spring-web/src/main/java/org/springframework/http/MediaType.java
+++ b/spring-web/src/main/java/org/springframework/http/MediaType.java
@@ -403,7 +403,7 @@ public class MediaType implements Comparable {
* Indicates whether the {@linkplain #getType() type} is the wildcard character {@code *} or not.
*/
public boolean isWildcardType() {
- return WILDCARD_TYPE.equals(type);
+ return WILDCARD_TYPE.equals(this.type);
}
/**
@@ -419,7 +419,7 @@ public class MediaType implements Comparable {
* @return whether the subtype is {@code *}
*/
public boolean isWildcardSubtype() {
- return WILDCARD_TYPE.equals(subtype) || subtype.startsWith("*+");
+ return WILDCARD_TYPE.equals(this.subtype) || this.subtype.startsWith("*+");
}
/**