summaryrefslogtreecommitdiffstats
path: root/dmaap-bc/src/main/java/org/onap
diff options
context:
space:
mode:
Diffstat (limited to 'dmaap-bc/src/main/java/org/onap')
-rw-r--r--dmaap-bc/src/main/java/org/onap/dmaap/dbcapi/aaf/AafConnection.java19
-rw-r--r--dmaap-bc/src/main/java/org/onap/dmaap/dbcapi/server/Main.java2
2 files changed, 2 insertions, 19 deletions
diff --git a/dmaap-bc/src/main/java/org/onap/dmaap/dbcapi/aaf/AafConnection.java b/dmaap-bc/src/main/java/org/onap/dmaap/dbcapi/aaf/AafConnection.java
index 934e541..b476723 100644
--- a/dmaap-bc/src/main/java/org/onap/dmaap/dbcapi/aaf/AafConnection.java
+++ b/dmaap-bc/src/main/java/org/onap/dmaap/dbcapi/aaf/AafConnection.java
@@ -22,24 +22,18 @@
package org.onap.dmaap.dbcapi.aaf;
-
-
-
-
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
+import java.net.ConnectException;
import java.net.ProtocolException;
import java.net.URL;
import java.net.UnknownHostException;
-import java.net.ConnectException;
-
import javax.net.ssl.HttpsURLConnection;
import javax.net.ssl.SSLContext;
import javax.net.ssl.SSLHandshakeException;
-
import javax.net.ssl.TrustManager;
import javax.net.ssl.X509TrustManager;
import org.apache.commons.codec.binary.Base64;
@@ -50,25 +44,16 @@ import org.onap.dmaap.dbcapi.util.DmaapConfig;
public class AafConnection extends BaseLoggingClass {
-
-
-
-
private String aafCred;
private String unit_test;
-
-
private HttpsURLConnection uc;
-
public AafConnection( String cred ) {
aafCred = cred;
DmaapConfig p = (DmaapConfig)DmaapConfig.getConfig();
unit_test = p.getProperty( "UnitTest", "No" );
-
}
-
private boolean makeConnection( String pURL ) {
try {
@@ -103,8 +88,6 @@ public class AafConnection extends BaseLoggingClass {
return sb.toString();
}
-
-
public int postAaf( AafObject obj, String pURL ) {
logger.info( "entry: postAaf() to " + pURL );
diff --git a/dmaap-bc/src/main/java/org/onap/dmaap/dbcapi/server/Main.java b/dmaap-bc/src/main/java/org/onap/dmaap/dbcapi/server/Main.java
index 942fe6c..91f7df4 100644
--- a/dmaap-bc/src/main/java/org/onap/dmaap/dbcapi/server/Main.java
+++ b/dmaap-bc/src/main/java/org/onap/dmaap/dbcapi/server/Main.java
@@ -47,7 +47,7 @@ public class Main extends BaseLoggingClass {
public void setProvFQDN(String provFQDN) {
Main.provFQDN = provFQDN;
}
- private Main() {
+ Main() {
}
public static void main(String[] args) {
(new Main()).main();