Skip to content

Commit f61983d

Browse files
committed
Polishing
1 parent 7615e0b commit f61983d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

spring-context/src/test/java/org/springframework/cache/CacheReproTests.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2017 the original author or authors.
2+
* Copyright 2002-2019 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.
@@ -60,7 +60,7 @@ public class CacheReproTests {
6060

6161

6262
@Test
63-
public void spr11124MultipleAnnotations() throws Exception {
63+
public void spr11124MultipleAnnotations() {
6464
AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(Spr11124Config.class);
6565
Spr11124Service bean = context.getBean(Spr11124Service.class);
6666
bean.single(2);
@@ -71,7 +71,7 @@ public void spr11124MultipleAnnotations() throws Exception {
7171
}
7272

7373
@Test
74-
public void spr11249PrimitiveVarargs() throws Exception {
74+
public void spr11249PrimitiveVarargs() {
7575
AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(Spr11249Config.class);
7676
Spr11249Service bean = context.getBean(Spr11249Service.class);
7777
Object result = bean.doSomething("op", 2, 3);

spring-jms/src/main/java/org/springframework/jms/support/converter/MappingJackson2MessageConverter.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ protected Message mapToMessage(Object object, Session session, ObjectWriter obje
340340
* sets the resulting value (either a mapped id or the raw Java class name)
341341
* into the configured type id message property.
342342
* @param object the payload object to set a type id for
343-
* @param message the JMS Message to set the type id on
343+
* @param message the JMS Message on which to set the type id property
344344
* @throws JMSException if thrown by JMS methods
345345
* @see #getJavaTypeForMessage(javax.jms.Message)
346346
* @see #setTypeIdPropertyName(String)
@@ -442,7 +442,7 @@ protected Object convertFromMessage(Message message, JavaType targetJavaType)
442442
* <p>The default implementation parses the configured type id property name
443443
* and consults the configured type id mapping. This can be overridden with
444444
* a different strategy, e.g. doing some heuristics based on message origin.
445-
* @param message the JMS Message to set the type id on
445+
* @param message the JMS Message from which to get the type id property
446446
* @throws JMSException if thrown by JMS methods
447447
* @see #setTypeIdOnMessage(Object, javax.jms.Message)
448448
* @see #setTypeIdPropertyName(String)

0 commit comments

Comments
 (0)