Skip to content

Commit 13873da

Browse files
committed
Polishing
1 parent cfbacfd commit 13873da

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

spring-beans/src/test/java/org/springframework/beans/factory/annotation/InjectAnnotationBeanPostProcessorTests.java

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2016 the original author or authors.
2+
* Copyright 2002-2018 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -47,7 +47,7 @@
4747

4848
/**
4949
* Unit tests for {@link org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor}
50-
* processing the JSR-303 {@link javax.inject.Inject} annotation.
50+
* processing the JSR-330 {@link javax.inject.Inject} annotation.
5151
*
5252
* @author Juergen Hoeller
5353
* @since 3.0
@@ -550,11 +550,9 @@ public void testObjectFactoryWithTypedMapMethod() throws Exception {
550550
}
551551

552552
/**
553-
* Verifies that a dependency on a {@link org.springframework.beans.factory.FactoryBean} can be autowired via
554-
* {@link org.springframework.beans.factory.annotation.Autowired @Inject}, specifically addressing the JIRA issue
555-
* raised in <a
556-
* href="http://opensource.atlassian.com/projects/spring/browse/SPR-4040"
557-
* target="_blank">SPR-4040</a>.
553+
* Verifies that a dependency on a {@link org.springframework.beans.factory.FactoryBean}
554+
* can be autowired via {@link org.springframework.beans.factory.annotation.Autowired @Inject},
555+
* specifically addressing SPR-4040.
558556
*/
559557
@Test
560558
public void testBeanAutowiredWithFactoryBean() {
@@ -1315,7 +1313,7 @@ public final FactoryBean<?> getFactoryBean() {
13151313
public static class StringFactoryBean implements FactoryBean<String> {
13161314

13171315
@Override
1318-
public String getObject() throws Exception {
1316+
public String getObject() {
13191317
return "";
13201318
}
13211319

spring-context/src/main/java/org/springframework/remoting/rmi/RmiServiceExporter.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -458,4 +458,5 @@ private void unexportObjectSilently() {
458458
}
459459
}
460460
}
461+
461462
}

spring-oxm/src/main/java/org/springframework/oxm/jibx/JibxMarshaller.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,8 @@ protected void marshalWriter(Object graph, Writer writer) throws XmlMappingExcep
294294
private void marshalDocument(IMarshallingContext marshallingContext, Object graph) throws IOException, JiBXException {
295295
if (StringUtils.hasLength(this.docTypeRootElementName)) {
296296
IXMLWriter xmlWriter = marshallingContext.getXmlWriter();
297-
xmlWriter.writeDocType(this.docTypeRootElementName, this.docTypeSystemId, this.docTypePublicId, this.docTypeInternalSubset);
297+
xmlWriter.writeDocType(this.docTypeRootElementName, this.docTypeSystemId,
298+
this.docTypePublicId, this.docTypeInternalSubset);
298299
}
299300
marshallingContext.marshalDocument(graph);
300301
}

0 commit comments

Comments
 (0)