Skip to content

Commit

Permalink
iceland changes
Browse files Browse the repository at this point in the history
  • Loading branch information
autermann committed Jul 19, 2016
1 parent e123bca commit 8926ab4
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 206 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
import static java.util.function.Function.identity;
import static java.util.stream.Collectors.toList;
import static java.util.stream.Collectors.toMap;
import static org.n52.iceland.util.MoreCollectors.toSingleResult;
import static org.n52.iceland.util.Streams.throwingMerger;
import static org.n52.iceland.util.Streams.toSingleResult;

import java.lang.reflect.AccessibleObject;
import java.lang.reflect.Constructor;
Expand All @@ -43,206 +43,11 @@
import org.n52.iceland.ogc.wps.description.ProcessOutputDescription;
import org.n52.javaps.description.TypedProcessDescription;
import org.n52.javaps.description.impl.TypedProcessDescriptionFactory;

import com.google.common.base.Strings;

import org.n52.javaps.io.literal.LiteralTypeRepository;

import static java.util.stream.Collectors.toMap;
import static org.n52.iceland.util.Streams.throwingMerger;
import static org.n52.iceland.util.Streams.toSingleResult;
import static java.util.stream.Collectors.toMap;
import static org.n52.iceland.util.Streams.throwingMerger;
import static org.n52.iceland.util.Streams.toSingleResult;
import static java.util.stream.Collectors.toMap;
import static org.n52.iceland.util.Streams.throwingMerger;
import static org.n52.iceland.util.Streams.toSingleResult;
import static java.util.stream.Collectors.toMap;
import static org.n52.iceland.util.Streams.throwingMerger;
import static org.n52.iceland.util.Streams.toSingleResult;
import static java.util.stream.Collectors.toMap;
import static org.n52.iceland.util.Streams.throwingMerger;
import static org.n52.iceland.util.Streams.toSingleResult;
import static java.util.stream.Collectors.toMap;
import static org.n52.iceland.util.Streams.throwingMerger;
import static org.n52.iceland.util.Streams.toSingleResult;
import static java.util.stream.Collectors.toMap;
import static org.n52.iceland.util.Streams.throwingMerger;
import static org.n52.iceland.util.Streams.toSingleResult;
import static java.util.stream.Collectors.toMap;
import static org.n52.iceland.util.Streams.throwingMerger;
import static org.n52.iceland.util.Streams.toSingleResult;
import static java.util.stream.Collectors.toMap;
import static org.n52.iceland.util.Streams.throwingMerger;
import static org.n52.iceland.util.Streams.toSingleResult;
import static java.util.stream.Collectors.toMap;
import static org.n52.iceland.util.Streams.throwingMerger;
import static org.n52.iceland.util.Streams.toSingleResult;
import static java.util.stream.Collectors.toMap;
import static org.n52.iceland.util.Streams.throwingMerger;
import static org.n52.iceland.util.Streams.toSingleResult;
import static java.util.stream.Collectors.toMap;
import static org.n52.iceland.util.Streams.throwingMerger;
import static org.n52.iceland.util.Streams.toSingleResult;
import static java.util.stream.Collectors.toMap;
import static org.n52.iceland.util.Streams.throwingMerger;
import static org.n52.iceland.util.Streams.toSingleResult;
import static java.util.stream.Collectors.toMap;
import static org.n52.iceland.util.Streams.throwingMerger;
import static org.n52.iceland.util.Streams.toSingleResult;
import static java.util.stream.Collectors.toMap;
import static org.n52.iceland.util.Streams.throwingMerger;
import static org.n52.iceland.util.Streams.toSingleResult;

import org.n52.javaps.io.InputHandlerRepository;

import static java.util.stream.Collectors.toMap;
import static org.n52.iceland.util.Streams.throwingMerger;
import static org.n52.iceland.util.Streams.toSingleResult;
import static java.util.stream.Collectors.toMap;
import static org.n52.iceland.util.Streams.throwingMerger;
import static org.n52.iceland.util.Streams.toSingleResult;
import static java.util.stream.Collectors.toMap;
import static org.n52.iceland.util.Streams.throwingMerger;
import static org.n52.iceland.util.Streams.toSingleResult;
import static java.util.stream.Collectors.toMap;
import static org.n52.iceland.util.Streams.throwingMerger;
import static org.n52.iceland.util.Streams.toSingleResult;
import static java.util.stream.Collectors.toMap;
import static org.n52.iceland.util.Streams.throwingMerger;
import static org.n52.iceland.util.Streams.toSingleResult;
import static java.util.stream.Collectors.toMap;
import static org.n52.iceland.util.Streams.throwingMerger;
import static org.n52.iceland.util.Streams.toSingleResult;
import static java.util.stream.Collectors.toMap;
import static org.n52.iceland.util.Streams.throwingMerger;
import static org.n52.iceland.util.Streams.toSingleResult;
import static java.util.stream.Collectors.toMap;
import static org.n52.iceland.util.Streams.throwingMerger;
import static org.n52.iceland.util.Streams.toSingleResult;
import static java.util.stream.Collectors.toMap;
import static org.n52.iceland.util.Streams.throwingMerger;
import static org.n52.iceland.util.Streams.toSingleResult;
import static java.util.stream.Collectors.toMap;
import static org.n52.iceland.util.Streams.throwingMerger;
import static org.n52.iceland.util.Streams.toSingleResult;
import static java.util.stream.Collectors.toMap;
import static org.n52.iceland.util.Streams.throwingMerger;
import static org.n52.iceland.util.Streams.toSingleResult;
import static java.util.stream.Collectors.toMap;
import static org.n52.iceland.util.Streams.throwingMerger;
import static org.n52.iceland.util.Streams.toSingleResult;
import static java.util.stream.Collectors.toMap;
import static org.n52.iceland.util.Streams.throwingMerger;
import static org.n52.iceland.util.Streams.toSingleResult;
import static java.util.stream.Collectors.toMap;
import static org.n52.iceland.util.Streams.throwingMerger;
import static org.n52.iceland.util.Streams.toSingleResult;
import static java.util.stream.Collectors.toMap;
import static org.n52.iceland.util.Streams.throwingMerger;
import static org.n52.iceland.util.Streams.toSingleResult;
import static java.util.stream.Collectors.toMap;
import static org.n52.iceland.util.Streams.throwingMerger;
import static org.n52.iceland.util.Streams.toSingleResult;

import org.n52.javaps.io.OutputHandlerRepository;
import org.n52.javaps.io.literal.LiteralTypeRepository;

import static java.util.stream.Collectors.toMap;
import static org.n52.iceland.util.Streams.throwingMerger;
import static org.n52.iceland.util.Streams.toSingleResult;
import static java.util.stream.Collectors.toMap;
import static org.n52.iceland.util.Streams.throwingMerger;
import static org.n52.iceland.util.Streams.toSingleResult;
import static java.util.stream.Collectors.toMap;
import static org.n52.iceland.util.Streams.throwingMerger;
import static org.n52.iceland.util.Streams.toSingleResult;
import static java.util.stream.Collectors.toMap;
import static org.n52.iceland.util.Streams.throwingMerger;
import static org.n52.iceland.util.Streams.toSingleResult;
import static java.util.stream.Collectors.toMap;
import static org.n52.iceland.util.Streams.throwingMerger;
import static org.n52.iceland.util.Streams.toSingleResult;
import static java.util.stream.Collectors.toMap;
import static org.n52.iceland.util.Streams.throwingMerger;
import static org.n52.iceland.util.Streams.toSingleResult;
import static java.util.stream.Collectors.toMap;
import static org.n52.iceland.util.Streams.throwingMerger;
import static org.n52.iceland.util.Streams.toSingleResult;
import static java.util.stream.Collectors.toMap;
import static org.n52.iceland.util.Streams.throwingMerger;
import static org.n52.iceland.util.Streams.toSingleResult;
import static java.util.stream.Collectors.toMap;
import static org.n52.iceland.util.Streams.throwingMerger;
import static org.n52.iceland.util.Streams.toSingleResult;
import static java.util.stream.Collectors.toMap;
import static org.n52.iceland.util.Streams.throwingMerger;
import static org.n52.iceland.util.Streams.toSingleResult;
import static java.util.stream.Collectors.toMap;
import static org.n52.iceland.util.Streams.throwingMerger;
import static org.n52.iceland.util.Streams.toSingleResult;
import static java.util.stream.Collectors.toMap;
import static org.n52.iceland.util.Streams.throwingMerger;
import static org.n52.iceland.util.Streams.toSingleResult;
import static java.util.stream.Collectors.toMap;
import static org.n52.iceland.util.Streams.throwingMerger;
import static org.n52.iceland.util.Streams.toSingleResult;
import static java.util.stream.Collectors.toMap;
import static org.n52.iceland.util.Streams.throwingMerger;
import static org.n52.iceland.util.Streams.toSingleResult;
import static java.util.stream.Collectors.toMap;
import static org.n52.iceland.util.Streams.throwingMerger;
import static org.n52.iceland.util.Streams.toSingleResult;
import static java.util.stream.Collectors.toMap;
import static org.n52.iceland.util.Streams.throwingMerger;
import static org.n52.iceland.util.Streams.toSingleResult;
import static java.util.stream.Collectors.toMap;
import static org.n52.iceland.util.Streams.throwingMerger;
import static org.n52.iceland.util.Streams.toSingleResult;
import static java.util.stream.Collectors.toMap;
import static org.n52.iceland.util.Streams.throwingMerger;
import static org.n52.iceland.util.Streams.toSingleResult;
import static java.util.stream.Collectors.toMap;
import static org.n52.iceland.util.Streams.throwingMerger;
import static org.n52.iceland.util.Streams.toSingleResult;
import static java.util.stream.Collectors.toMap;
import static org.n52.iceland.util.Streams.throwingMerger;
import static org.n52.iceland.util.Streams.toSingleResult;
import static java.util.stream.Collectors.toMap;
import static org.n52.iceland.util.Streams.throwingMerger;
import static org.n52.iceland.util.Streams.toSingleResult;
import static java.util.stream.Collectors.toMap;
import static org.n52.iceland.util.Streams.throwingMerger;
import static org.n52.iceland.util.Streams.toSingleResult;
import static java.util.stream.Collectors.toMap;
import static org.n52.iceland.util.Streams.throwingMerger;
import static org.n52.iceland.util.Streams.toSingleResult;
import static java.util.stream.Collectors.toMap;
import static org.n52.iceland.util.Streams.throwingMerger;
import static org.n52.iceland.util.Streams.toSingleResult;
import static java.util.stream.Collectors.toMap;
import static org.n52.iceland.util.Streams.throwingMerger;
import static org.n52.iceland.util.Streams.toSingleResult;
import static java.util.stream.Collectors.toMap;
import static org.n52.iceland.util.Streams.throwingMerger;
import static org.n52.iceland.util.Streams.toSingleResult;
import static java.util.stream.Collectors.toMap;
import static org.n52.iceland.util.Streams.throwingMerger;
import static org.n52.iceland.util.Streams.toSingleResult;
import static java.util.stream.Collectors.toMap;
import static org.n52.iceland.util.Streams.throwingMerger;
import static org.n52.iceland.util.Streams.toSingleResult;
import static java.util.stream.Collectors.toMap;
import static org.n52.iceland.util.Streams.throwingMerger;
import static org.n52.iceland.util.Streams.toSingleResult;
import static java.util.stream.Collectors.toMap;
import static org.n52.iceland.util.Streams.throwingMerger;
import static org.n52.iceland.util.Streams.toSingleResult;
import static java.util.stream.Collectors.toMap;
import static org.n52.iceland.util.Streams.throwingMerger;
import static org.n52.iceland.util.Streams.toSingleResult;
import static java.util.stream.Collectors.toMap;
import static org.n52.iceland.util.Streams.throwingMerger;
import static org.n52.iceland.util.Streams.toSingleResult;
import com.google.common.base.Strings;

/**
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@


import static java.util.stream.Collectors.groupingBy;
import static org.n52.iceland.util.Streams.toSingleResult;
import static org.n52.iceland.util.MoreCollectors.toSingleResult;

import java.util.Collection;
import java.util.Collections;
Expand All @@ -38,8 +38,7 @@

import com.google.common.collect.ImmutableSet;

public class GroupInputDescriptionImpl extends AbstractProcessInputDescription
implements GroupInputDescription {
public class GroupInputDescriptionImpl extends AbstractProcessInputDescription implements GroupInputDescription {

private final Map<OwsCode, ProcessInputDescription> inputs;

Expand Down Expand Up @@ -73,9 +72,7 @@ public <T> T visit(ReturningVisitor<T> visitor) {
}

@Override
public <T, X extends Exception> T visit(
ThrowingReturningVisitor<T, X> visitor)
throws X {
public <T, X extends Exception> T visit(ThrowingReturningVisitor<T, X> visitor) throws X {
return visitor.visit(this);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@


import static java.util.stream.Collectors.groupingBy;
import static org.n52.iceland.util.Streams.toSingleResult;
import static org.n52.iceland.util.MoreCollectors.toSingleResult;

import java.util.Collection;
import java.util.Collections;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

import static com.google.common.base.Strings.emptyToNull;
import static java.util.stream.Collectors.groupingBy;
import static org.n52.iceland.util.Streams.toSingleResult;
import static org.n52.iceland.util.MoreCollectors.toSingleResult;

import java.util.Collection;
import java.util.Collections;
Expand Down

0 comments on commit 8926ab4

Please sign in to comment.