upload jpeg files as well

Change-Id: I4819108ebd9577f56819b25f31a9a70fdfefbc40
diff --git a/src/main/java/com/google/gwt/site/uploader/FileTraverser.java b/src/main/java/com/google/gwt/site/uploader/FileTraverser.java
index 1370913..06e4a29 100644
--- a/src/main/java/com/google/gwt/site/uploader/FileTraverser.java
+++ b/src/main/java/com/google/gwt/site/uploader/FileTraverser.java
@@ -50,7 +50,8 @@
 	private boolean shouldFileBeUploaded(String fileName) {
 		return fileName.endsWith(".html") || fileName.endsWith(".css")
 				|| fileName.endsWith(".js") || fileName.endsWith(".png")
-				|| fileName.endsWith(".jpg") || fileName.endsWith(".gif");
+				|| fileName.endsWith(".jpg") || fileName.endsWith(".jpeg")
+				|| fileName.endsWith(".gif");
 	}
 
 }
diff --git a/src/main/java/com/google/gwt/site/uploader/Uploader.java b/src/main/java/com/google/gwt/site/uploader/Uploader.java
index 134cb33..bf50f70 100644
--- a/src/main/java/com/google/gwt/site/uploader/Uploader.java
+++ b/src/main/java/com/google/gwt/site/uploader/Uploader.java
@@ -117,12 +117,9 @@
 				int port = Integer.parseInt(portString);
 				return new Credentials(host, port, username, password);
 			} catch (NumberFormatException e) {
-				System.out
-				.println("error while parsing port");
-		throw new RuntimeException(
-				"error while parsing port");
+				System.out.println("error while parsing port");
+				throw new RuntimeException("error while parsing port");
 			}
-			
 
 		} catch (IOException e) {
 			System.out.println("can not load credential files");
@@ -163,7 +160,7 @@
 
 	private static boolean isBinaryFile(String path) {
 		return path.endsWith(".png") || path.endsWith(".jpg")
-				|| path.endsWith(".gif");
+				|| path.endsWith(".jpeg") || path.endsWith(".gif");
 	}
 
 }