Mercurial > dive4elements > river
comparison gwt-client/src/main/java/org/dive4elements/river/client/client/ui/CollectionView.java @ 8856:5e38e2924c07 3.2.x
Fix code style.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Thu, 18 Jan 2018 20:12:01 +0100 |
parents | e689be2a4dd1 |
children | 28df64078f27 |
comparison
equal
deleted
inserted
replaced
8855:d7c005e12af0 | 8856:5e38e2924c07 |
---|---|
659 addArtifactService.add( | 659 addArtifactService.add( |
660 collection, art, locale, | 660 collection, art, locale, |
661 new AsyncCallback<Collection>() { | 661 new AsyncCallback<Collection>() { |
662 @Override | 662 @Override |
663 public void onFailure(Throwable caught) { | 663 public void onFailure(Throwable caught) { |
664 GWT.log("An error occured while adding artifact."); | 664 GWT.log("An error occured while " |
665 SC.warn(FLYS.getExceptionString(messages, caught)); | 665 + "adding artifact."); |
666 SC.warn(FLYS.getExceptionString( | |
667 messages, caught)); | |
666 } | 668 } |
667 | 669 |
668 @Override | 670 @Override |
669 public void onSuccess(Collection newCollection) { | 671 public void onSuccess( |
672 Collection newCollection) { | |
670 GWT.log("Successfully added artifacts."); | 673 GWT.log("Successfully added artifacts."); |
671 setCollection(newCollection); | 674 setCollection(newCollection); |
672 } | 675 } |
673 } | 676 } |
674 ); | 677 ); |