[from now] 2012/05/24 17:51:46

diff --git a/src/main/java/org/ryu22e/nico2cal/controller/myCalendar/DisConnectController.java b/src/main/java/org/ryu22e/nico2cal/controller/myCalendar/DisConnectController.java
index 4edac7a..eaa2228 100644
--- a/src/main/java/org/ryu22e/nico2cal/controller/myCalendar/DisConnectController.java
+++ b/src/main/java/org/ryu22e/nico2cal/controller/myCalendar/DisConnectController.java
@@ -35,8 +35,10 @@ public final class DisConnectController extends Controller {
         map.put("status", "ok");

         JsonWriter writer = new JsonWriter(response.getWriter());
-        Type type = new TypeToken<Map<String, Object>>() {
-        }.getType();
+        TypeToken<Map<String, Object>> typeToken =
+                new TypeToken<Map<String, Object>>() {
+                };
+        Type type = typeToken.getType();
         new Gson().toJson(map, type, writer);

         return null;
diff --git a/src/main/java/org/ryu22e/nico2cal/controller/myCalendar/ImportController.java b/src/main/java/org/ryu22e/nico2cal/controller/myCalendar/ImportController.java
index 3f202f4..150c19b 100644
--- a/src/main/java/org/ryu22e/nico2cal/controller/myCalendar/ImportController.java
+++ b/src/main/java/org/ryu22e/nico2cal/controller/myCalendar/ImportController.java
@@ -1,11 +1,10 @@
 package org.ryu22e.nico2cal.controller.myCalendar;

-import org.ryu22e.nico2cal.model.Nicolive;
 import org.slim3.controller.Controller;
 import org.slim3.controller.Navigation;

 /**
- * Google Calendarに{@link Nicolive}の内容をインポートするコントローラー。
+ * Google Calendarに{@link org.ryu22e.nico2cal.model.Nicolive}の内容をインポートするコントローラー。
  * @author ryu22e
  *
  */
diff --git a/src/main/java/org/ryu22e/nico2cal/controller/myCalendar/SaveController.java b/src/main/java/org/ryu22e/nico2cal/controller/myCalendar/SaveController.java
index 370ac99..ac80e65 100644
--- a/src/main/java/org/ryu22e/nico2cal/controller/myCalendar/SaveController.java
+++ b/src/main/java/org/ryu22e/nico2cal/controller/myCalendar/SaveController.java
@@ -41,8 +41,10 @@ public final class SaveController extends Controller {
         map.put("status", "ok");

         JsonWriter writer = new JsonWriter(response.getWriter());
-        Type type = new TypeToken<Map<String, Object>>() {
-        }.getType();
+        TypeToken<Map<String, Object>> typeToken =
+                new TypeToken<Map<String, Object>>() {
+                };
+        Type type = typeToken.getType();
         new Gson().toJson(map, type, writer);
         return null;
     }
diff --git a/src/main/java/org/ryu22e/nico2cal/controller/myCalendar/package-info.java b/src/main/java/org/ryu22e/nico2cal/controller/myCalendar/package-info.java
new file mode 100644
index 0000000..f98f1e6
--- /dev/null
+++ b/src/main/java/org/ryu22e/nico2cal/controller/myCalendar/package-info.java
@@ -0,0 +1,16 @@
+/**
+ * Copyright 2011-2012 Ryuji Tsutsui.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.ryu22e.nico2cal.controller.myCalendar;
\ No newline at end of file
diff --git a/src/main/java/org/ryu22e/nico2cal/exception/CsrfException.java b/src/main/java/org/ryu22e/nico2cal/exception/CsrfException.java
index 9489cb9..431ed48 100644
--- a/src/main/java/org/ryu22e/nico2cal/exception/CsrfException.java
+++ b/src/main/java/org/ryu22e/nico2cal/exception/CsrfException.java
@@ -1,6 +1,3 @@
-/**
- *
- */
 package org.ryu22e.nico2cal.exception;

 import javax.servlet.ServletException;
diff --git a/src/main/java/org/ryu22e/nico2cal/exception/package-info.java b/src/main/java/org/ryu22e/nico2cal/exception/package-info.java
new file mode 100644
index 0000000..e7d0a9d
--- /dev/null
+++ b/src/main/java/org/ryu22e/nico2cal/exception/package-info.java
@@ -0,0 +1,16 @@
+/**
+ * Copyright 2011-2012 Ryuji Tsutsui.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.ryu22e.nico2cal.exception;
\ No newline at end of file
diff --git a/src/main/java/org/ryu22e/nico2cal/filter/CsrfFilter.java b/src/main/java/org/ryu22e/nico2cal/filter/CsrfFilter.java
index 5c8be76..b20a7b7 100644
--- a/src/main/java/org/ryu22e/nico2cal/filter/CsrfFilter.java
+++ b/src/main/java/org/ryu22e/nico2cal/filter/CsrfFilter.java
@@ -1,6 +1,3 @@
-/**
- *
- */
 package org.ryu22e.nico2cal.filter;

 import java.io.IOException;
@@ -25,8 +22,8 @@ import org.ryu22e.nico2cal.exception.CsrfException;
 public final class CsrfFilter implements Filter {

     /**
-     * @param request
-     * @return
+     * @param request リクエスト
+     * @return CSRF用トークンの検査に合格していればtrue, それ以外はfalse
      */
     private boolean hasCsrfToken(HttpServletRequest request) {
         HttpSession session = request.getSession(false);
@@ -40,9 +37,9 @@ public final class CsrfFilter implements Filter {
     }

     /**
-     * @param request
-     * @param response
-     * @param chain
+     * @param request リクエスト
+     * @param response レスポンス
+     * @param chain フィルターチェイン
      * @throws IOException
      * @throws ServletException
      */
diff --git a/src/main/java/org/ryu22e/nico2cal/filter/CsrfTokenCookieFilter.java b/src/main/java/org/ryu22e/nico2cal/filter/CsrfTokenCookieFilter.java
index af5d588..178633c 100644
--- a/src/main/java/org/ryu22e/nico2cal/filter/CsrfTokenCookieFilter.java
+++ b/src/main/java/org/ryu22e/nico2cal/filter/CsrfTokenCookieFilter.java
@@ -1,6 +1,3 @@
-/**
- *
- */
 package org.ryu22e.nico2cal.filter;

 import java.io.IOException;
@@ -32,9 +29,9 @@ public final class CsrfTokenCookieFilter implements Filter {
     }

     /**
-     * @param request
-     * @param response
-     * @param chain
+     * @param request リクエスト
+     * @param response レスポンス
+     * @param chain フィルターチェイン
      * @throws IOException
      * @throws ServletException
      */
diff --git a/src/main/java/org/ryu22e/nico2cal/filter/package-info.java b/src/main/java/org/ryu22e/nico2cal/filter/package-info.java
new file mode 100644
index 0000000..b78385e
--- /dev/null
+++ b/src/main/java/org/ryu22e/nico2cal/filter/package-info.java
@@ -0,0 +1,16 @@
+/**
+ * Copyright 2011-2012 Ryuji Tsutsui.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.ryu22e.nico2cal.filter;
\ No newline at end of file
diff --git a/src/main/java/org/ryu22e/nico2cal/servlet/ConnectGoogleApi.java b/src/main/java/org/ryu22e/nico2cal/servlet/ConnectGoogleApi.java
index 6e2eb19..a748854 100644
--- a/src/main/java/org/ryu22e/nico2cal/servlet/ConnectGoogleApi.java
+++ b/src/main/java/org/ryu22e/nico2cal/servlet/ConnectGoogleApi.java
@@ -1,6 +1,3 @@
-/**
- *
- */
 package org.ryu22e.nico2cal.servlet;

 import java.io.IOException;
diff --git a/src/main/java/org/ryu22e/nico2cal/servlet/ConnectGoogleApiCallback.java b/src/main/java/org/ryu22e/nico2cal/servlet/ConnectGoogleApiCallback.java
index 99e97b1..7a8992f 100644
--- a/src/main/java/org/ryu22e/nico2cal/servlet/ConnectGoogleApiCallback.java
+++ b/src/main/java/org/ryu22e/nico2cal/servlet/ConnectGoogleApiCallback.java
@@ -1,6 +1,3 @@
-/**
- *
- */
 package org.ryu22e.nico2cal.servlet;

 import java.io.IOException;
diff --git a/src/main/java/org/ryu22e/nico2cal/servlet/package-info.java b/src/main/java/org/ryu22e/nico2cal/servlet/package-info.java
new file mode 100644
index 0000000..b47a583
--- /dev/null
+++ b/src/main/java/org/ryu22e/nico2cal/servlet/package-info.java
@@ -0,0 +1,16 @@
+/**
+ * Copyright 2011-2012 Ryuji Tsutsui.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.ryu22e.nico2cal.servlet;
\ No newline at end of file
diff --git a/src/main/java/org/ryu22e/nico2cal/util/GoogleApiKeyUtil.java b/src/main/java/org/ryu22e/nico2cal/util/GoogleApiKeyUtil.java
index e13abe3..d08d55d 100644
--- a/src/main/java/org/ryu22e/nico2cal/util/GoogleApiKeyUtil.java
+++ b/src/main/java/org/ryu22e/nico2cal/util/GoogleApiKeyUtil.java
@@ -8,9 +8,15 @@ import java.util.ResourceBundle;
  * @author ryu22e
  *
  */
-public class GoogleApiKeyUtil {
+public final class GoogleApiKeyUtil {
+    /**
+     *
+     */
     private static final String BUNDLE_NAME = "private/googleapi";

+    /**
+     *
+     */
     private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle
         .getBundle(BUNDLE_NAME);

@@ -26,14 +32,16 @@ public class GoogleApiKeyUtil {
     }

     /**
-     * @return
+     * Client IDを取得する。
+     * @return Client ID
      */
     public static String getClientId() {
         return getString("clientId");
     }

     /**
-     * @return
+     * Client secretを取得する。
+     * @return Client secret
      */
     public static String getClientSecret() {
         return getString("clientSecret");