# HG changeset patch # User "jurzua " # Date 1431957301 -7200 # Node ID c30ff4f27ec3cce6631f0e27186e0b94cb53e023 # Parent 7ffaefcee5b5b3d84068005437c6e3f2c319b746 adding developer guide documentation diff -r 7ffaefcee5b5 -r c30ff4f27ec3 docs/LGServices_Developer_Guide.odt Binary file docs/LGServices_Developer_Guide.odt has changed diff -r 7ffaefcee5b5 -r c30ff4f27ec3 src/main/java/de/mpiwg/gazetteer/bo/LGBranch.java --- a/src/main/java/de/mpiwg/gazetteer/bo/LGBranch.java Tue May 12 14:54:13 2015 +0200 +++ b/src/main/java/de/mpiwg/gazetteer/bo/LGBranch.java Mon May 18 15:55:01 2015 +0200 @@ -28,7 +28,6 @@ public class LGBranch extends DBEntry implements Cloneable, Serializable { private static final long serialVersionUID = 7805209462045170778L; - @Column(name="sectionId") private Long sectionId; diff -r 7ffaefcee5b5 -r c30ff4f27ec3 src/main/java/de/mpiwg/gazetteer/utils/HTTPUtils.java --- a/src/main/java/de/mpiwg/gazetteer/utils/HTTPUtils.java Tue May 12 14:54:13 2015 +0200 +++ b/src/main/java/de/mpiwg/gazetteer/utils/HTTPUtils.java Mon May 18 15:55:01 2015 +0200 @@ -98,10 +98,10 @@ return sb.toString(); } - public static HttpStringResponse getStringResponse(String link) throws IOException, KeyManagementException, NoSuchAlgorithmException{ - if(link.startsWith("https") || link.startsWith("HTTPS")) - return getHttpSSLStringResponse(link); - return getHttpStringResponse(link); + public static HttpStringResponse getStringResponse(String url) throws IOException, KeyManagementException, NoSuchAlgorithmException{ + if(url.startsWith("https") || url.startsWith("HTTPS")) + return getHttpSSLStringResponse(url); + return getHttpStringResponse(url); } private static HttpStringResponse getHttpSSLStringResponse(String link) throws IOException, KeyManagementException, NoSuchAlgorithmException{ @@ -140,7 +140,7 @@ private static HttpStringResponse getHttpStringResponse(String link) throws IOException{ - //System.out.println(link); + //System.out.println(url); URL url = new URL(link); HttpURLConnection httpConn = (HttpURLConnection)url.openConnection(); diff -r 7ffaefcee5b5 -r c30ff4f27ec3 src/main/webapp/methods/dynastyAutocomplete.jsp --- a/src/main/webapp/methods/dynastyAutocomplete.jsp Tue May 12 14:54:13 2015 +0200 +++ b/src/main/webapp/methods/dynastyAutocomplete.jsp Mon May 18 15:55:01 2015 +0200 @@ -6,8 +6,6 @@ <% - - String term = request.getParameter("term"); List list = sessionBean.getSearchPage().suggestDynasty(term, 10);