diff options
Diffstat (limited to 'sdc-distribution-client/src/main/java/org/onap/sdc/utils/Pair.java')
-rw-r--r-- | sdc-distribution-client/src/main/java/org/onap/sdc/utils/Pair.java | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/sdc-distribution-client/src/main/java/org/onap/sdc/utils/Pair.java b/sdc-distribution-client/src/main/java/org/onap/sdc/utils/Pair.java index 097cafb..c2a60ba 100644 --- a/sdc-distribution-client/src/main/java/org/onap/sdc/utils/Pair.java +++ b/sdc-distribution-client/src/main/java/org/onap/sdc/utils/Pair.java @@ -7,9 +7,9 @@ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -21,19 +21,19 @@ package org.onap.sdc.utils; public final class Pair<F, S> { - private final F first; - private final S second; - - public Pair(F first, S second){ - this.first = first; - this.second = second; - } + private final F first; + private final S second; - public F getFirst() { - return first; - } + public Pair(F first, S second) { + this.first = first; + this.second = second; + } - public S getSecond() { - return second; - } + public F getFirst() { + return first; + } + + public S getSecond() { + return second; + } } |