diff options
author | Artur Signell <artur@vaadin.com> | 2013-06-26 09:41:17 +0300 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2013-06-26 07:54:32 +0000 |
commit | 6c10136ae17f62c37c65805ff8847d86ce1733f7 (patch) | |
tree | fd40db14693bf405447d1255cc3bdc703bafb6f2 /server/src/com/vaadin/data/Buffered.java | |
parent | 172d704fe372885e81cc83fe768281e40decfb3a (diff) | |
download | vaadin-framework-6c10136ae17f62c37c65805ff8847d86ce1733f7.tar.gz vaadin-framework-6c10136ae17f62c37c65805ff8847d86ce1733f7.zip |
Use varargs instead of array where appropriate (#4513)
Change-Id: Ide9349b6afa7e56ae04b7727134971ebf81c0b03
Diffstat (limited to 'server/src/com/vaadin/data/Buffered.java')
-rw-r--r-- | server/src/com/vaadin/data/Buffered.java | 15 |
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; } |