From 6d83c7cb62f34d9f8ade8d7b5cdfb7c3d0739e79 Mon Sep 17 00:00:00 2001 From: orbiter Date: Wed, 8 Sep 2010 07:15:41 +0000 Subject: [PATCH] removed unnecessary Override statements (produces errors in strict validation) git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7123 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- source/net/yacy/ai/example/SchwarzerPeter.java | 6 ------ source/net/yacy/cora/protocol/http/HTTPClient.java | 3 --- 2 files changed, 9 deletions(-) diff --git a/source/net/yacy/ai/example/SchwarzerPeter.java b/source/net/yacy/ai/example/SchwarzerPeter.java index e30cf90a4..6c41f7a40 100644 --- a/source/net/yacy/ai/example/SchwarzerPeter.java +++ b/source/net/yacy/ai/example/SchwarzerPeter.java @@ -68,7 +68,6 @@ public class SchwarzerPeter { this.spieleranzahl = spieleranzahl; } - @Override public Spieler nextRole() { int n = (this.spielernummer == this.spieleranzahl - 1) ? 0 : this.spielernummer + 1; return new Spieler(n, this.spieleranzahl); @@ -159,30 +158,25 @@ return true; } } - @Override public List explore() { return new ArrayList(0); } - @Override public void applyFinding(Zug finding) { haende[this.currentRole().spielernummer].annehmen(random, this.haende[this.currentRole().linkerNachbar().spielernummer].abgeben(random)); } - @Override public int getRanking(int findings, Spieler role) { // TODO Auto-generated method stub return 0; } - @Override public boolean isTermination(Spieler role) { // TODO Auto-generated method stub return false; } - @Override public Spieler isTermination() { // TODO Auto-generated method stub return null; diff --git a/source/net/yacy/cora/protocol/http/HTTPClient.java b/source/net/yacy/cora/protocol/http/HTTPClient.java index 8ef074ef6..279c33039 100644 --- a/source/net/yacy/cora/protocol/http/HTTPClient.java +++ b/source/net/yacy/cora/protocol/http/HTTPClient.java @@ -553,17 +553,14 @@ public class HTTPClient { private static SSLSocketFactory getSSLSocketFactory() { final TrustManager trustManager = new X509TrustManager() { - @Override public void checkClientTrusted(X509Certificate[] chain, String authType) throws CertificateException { } - @Override public void checkServerTrusted(X509Certificate[] chain, String authType) throws CertificateException { } - @Override public X509Certificate[] getAcceptedIssuers() { return null; }