Skip to content

Commit 63f6459

Browse files
committed
Restore unreleased binary compatibility change
- Remove old comment
1 parent c149160 commit 63f6459

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

pom.xml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -139,13 +139,6 @@
139139
<tarLongFileMode>gnu</tarLongFileMode>
140140
</configuration>
141141
</plugin>
142-
<!-- Disabled as it is not Java 6 compatible
143-
<plugin>
144-
<groupId>com.github.siom79.japicmp</groupId>
145-
<artifactId>japicmp-maven-plugin</artifactId>
146-
<version>${commons.japicmp.version}</version>
147-
</plugin>
148-
-->
149142
</plugins>
150143
<pluginManagement>
151144
<plugins>

src/main/java/org/apache/commons/beanutils/ConversionException.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,13 @@ public class ConversionException extends RuntimeException {
2727

2828
private static final long serialVersionUID = 1L;
2929

30+
/**
31+
* The cause, deprecated.
32+
*
33+
* @deprecated Use {@link Throwable#getCause()}}.
34+
*/
35+
protected Throwable cause;
36+
3037
/**
3138
* Constructs a new exception with the specified message.
3239
*
@@ -44,6 +51,7 @@ public ConversionException(final String message) {
4451
*/
4552
public ConversionException(final String message, final Throwable cause) {
4653
super(message, cause);
54+
this.cause = cause;
4755
}
4856

4957
/**
@@ -53,6 +61,7 @@ public ConversionException(final String message, final Throwable cause) {
5361
*/
5462
public ConversionException(final Throwable cause) {
5563
super(cause);
64+
this.cause = cause;
5665
}
5766

5867
}

0 commit comments

Comments
 (0)