aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/com/vaadin/data/Buffered.java
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2013-06-26 09:41:17 +0300
committerArtur Signell <artur@vaadin.com>2013-06-26 10:55:26 +0300
commita1f62df2924e0f46d2508266fea83f4edc2c60a8 (patch)
treeafc236f704df2eb29a07182ada6c7cfe5148584d /server/src/com/vaadin/data/Buffered.java
parent06357c0a910db38af3b7d7c371aebd38cd70844b (diff)
downloadvaadin-framework-a1f62df2924e0f46d2508266fea83f4edc2c60a8.tar.gz
vaadin-framework-a1f62df2924e0f46d2508266fea83f4edc2c60a8.zip
Use varargs instead of array where appropriate (#4513)7.1.0
Change-Id: Ide9349b6afa7e56ae04b7727134971ebf81c0b03
Diffstat (limited to 'server/src/com/vaadin/data/Buffered.java')
-rw-r--r--server/src/com/vaadin/data/Buffered.java15
1 files changed, 1 insertions, 14 deletions
diff --git a/server/src/com/vaadin/data/Buffered.java b/server/src/com/vaadin/data/Buffered.java
index bbfc04b73a..0d6722f71f 100644
--- a/server/src/com/vaadin/data/Buffered.java
+++ b/server/src/com/vaadin/data/Buffered.java
@@ -152,19 +152,6 @@ public interface Buffered extends Serializable {
}
/**
- * Creates a source exception from a cause exception.
- *
- * @param source
- * the source object implementing the Buffered interface.
- * @param cause
- * the original cause for this exception.
- */
- public SourceException(Buffered source, Throwable cause) {
- this.source = source;
- causes = new Throwable[] { cause };
- }
-
- /**
* Creates a source exception from multiple causes.
*
* @param source
@@ -172,7 +159,7 @@ public interface Buffered extends Serializable {
* @param causes
* the original causes for this exception.
*/
- public SourceException(Buffered source, Throwable[] causes) {
+ public SourceException(Buffered source, Throwable... causes) {
this.source = source;
this.causes = causes;
}