• R/O
  • SSH
  • HTTPS

Commit

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

作業部屋の使い方を試しています。


Commit MetaInfo

Revision84 (tree)
Time2014-09-24 16:10:17
Authortuna_p

Log Message

(empty log message)

Change Summary

Incremental Difference

--- trunk/HtmlTest2/src/Form/SearchDataRW.java (revision 83)
+++ trunk/HtmlTest2/src/Form/SearchDataRW.java (revision 84)
@@ -128,8 +128,8 @@
128128 }
129129 bufferedwriter.close();
130130
131- } catch(IOException e) {
132- System.out.println(e);
131+ } catch(IOException ex) {
132+ Logger.getLogger(SearchDataRW.class.getName()).log(Level.SEVERE, null, ex);
133133 }
134134 }
135135
@@ -164,8 +164,8 @@
164164 }
165165 bufferedreader.close();
166166
167- } catch(IOException e) {
168- System.out.println(e);
167+ } catch(IOException ex) {
168+ Logger.getLogger(SearchDataRW.class.getName()).log(Level.SEVERE, null, ex);
169169 }
170170
171171 }
@@ -263,8 +263,8 @@
263263 Node child;
264264 for (child = slistnode.getFirstChild(); child != null; child = child.getNextSibling()) {
265265 if(child.getNodeType() == Node.ELEMENT_NODE) {
266+
266267 String tag = child.getNodeName();
267-
268268 String rtn = "";
269269 if(child.getFirstChild() != null) {
270270 rtn = child.getFirstChild().getNodeValue();
@@ -271,22 +271,22 @@
271271 }
272272
273273 switch (tag) {
274- case "item":
274+ case "item" :
275275 sdat.setitem(rtn);
276276 break;
277- case "htmltag":
277+ case "htmltag" :
278278 sdat.setHtmltag(rtn);
279279 break;
280- case "htmlid":
280+ case "htmlid" :
281281 sdat.setHtmlid(rtn);
282282 break;
283- case "htmlclass":
283+ case "htmlclass" :
284284 sdat.setHtmlclass(rtn);
285285 break;
286- case "around":
286+ case "around" :
287287 sdat.setaround(rtn);
288288 break;
289- case "regexp":
289+ case "regexp" :
290290 sdat.setregexp(rtn);
291291 break;
292292 }