Skip to content

Commit

Permalink
Spelling fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Ville Skyttä <ville.skytta@iki.fi>
  • Loading branch information
scop authored and Kai Hudalla committed Feb 17, 2017
1 parent fbd126c commit 649d244
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
Expand Up @@ -140,7 +140,7 @@ public static void main(String[] args) {
String.format("Web port %s is already in use, you can change it using the 'webport' option.", webPort));
formatter.printHelp(USAGE, null, options, FOOTER);
} catch (Exception e) {
LOG.error("Jetty stopped with unexcepted error ...", e);
LOG.error("Jetty stopped with unexpected error ...", e);
}
}

Expand Down
Expand Up @@ -474,7 +474,7 @@ public void run() {
}
}
} catch (Exception e) {
LOG.warn("Unexcepted Exception while registration cleaning", e);
LOG.warn("Unexpected Exception while registration cleaning", e);
}
}
}
Expand Down
Expand Up @@ -133,7 +133,7 @@ public static void main(String[] args) {
createAndStartServer(clusterInstanceId, localAddress, localPort, secureLocalAddress,
secureLocalPort, redisUrl);
}catch (Exception e) {
LOG.error("Jetty stopped with unexcepted error ...", e);
LOG.error("Jetty stopped with unexpected error ...", e);
}
}

Expand Down
Expand Up @@ -658,7 +658,7 @@ public void run() {
cursor = res.getStringCursor();
} while (!"0".equals(cursor));
} catch (Exception e) {
LOG.warn("Unexcepted Exception while registration cleaning", e);
LOG.warn("Unexpected Exception while registration cleaning", e);
}
}
}
Expand Down
Expand Up @@ -160,7 +160,7 @@ public static void main(String[] args) {
String.format("Web port %s is alreay used, you could change it using 'webport' option.", webPort));
formatter.printHelp(USAGE, null, options, FOOTER);
} catch (Exception e) {
LOG.error("Jetty stopped with unexcepted error ...", e);
LOG.error("Jetty stopped with unexpected error ...", e);
}
}

Expand Down
Expand Up @@ -179,9 +179,9 @@ private void handleException(Exception e, HttpServletResponse resp) throws IOExc
resp.setStatus(HttpServletResponse.SC_INTERNAL_SERVER_ERROR);
resp.getWriter().append("Thread Interrupted:").append(e.getMessage()).flush();
} else {
LOG.warn("Unexcepted exception", e);
LOG.warn("Unexpected exception", e);
resp.setStatus(HttpServletResponse.SC_INTERNAL_SERVER_ERROR);
resp.getWriter().append("Unexcepted exception:").append(e.getMessage()).flush();
resp.getWriter().append("Unexpected exception:").append(e.getMessage()).flush();
}
}

Expand Down

0 comments on commit 649d244

Please sign in to comment.