WuWenbin's Blog http://wwb.appspot.com/post/13401/ Posts from WuWenbin's Blog Wed, 15 Apr 2009 06:07:00 +0000 http://wwb.appspot.com/feeds zh-cn hourly 1 Google App Engine supports Java now http://wwb.appspot.com/post/13401/ http://wwb.appspot.com/post/13401/#comments Apr 15, 2009 WenBin87 http://wwb.appspot.com This week, google annouced that GAE supported java now. I tried to upload an app and it really worked. I decide to make a brain storm app for myself, it would record my idea so that i can review what i think. Cool

]]>
WuWenbin's Blog http://wwb.appspot.com/post/12402/ Posts from WuWenbin's Blog Wed, 8 Apr 2009 04:52:40 +0000 http://wwb.appspot.com/feeds zh-cn hourly 1 Google Developer Day 2009 http://wwb.appspot.com/post/12402/ http://wwb.appspot.com/post/12402/#comments Apr 08, 2009 WenBin87 http://wwb.appspot.com Here it comes, Google Developer Day 2009, in this day, we will meet lots of developers using Google Tech, and it could broaden our outlook. I hope i can get a chance to join in. God bless me.Tongue out

]]>
WuWenbin's Blog http://wwb.appspot.com/post/11401/ Posts from WuWenbin's Blog Tue, 7 Apr 2009 08:21:54 +0000 http://wwb.appspot.com/feeds zh-cn hourly 1 Hot http://wwb.appspot.com/post/11401/ http://wwb.appspot.com/post/11401/#comments Apr 07, 2009 WenBin87 http://wwb.appspot.com It's a fine day today, i like sunshine. From my office, i can see the sun. Hope everyday goes well.

]]>
WuWenbin's Blog http://wwb.appspot.com/post/9403/ Posts from WuWenbin's Blog Wed, 25 Mar 2009 02:14:11 +0000 http://wwb.appspot.com/feeds zh-cn hourly 1 FindBugs indicates "Dead store to local variable" http://wwb.appspot.com/post/9403/ http://wwb.appspot.com/post/9403/#comments Mar 25, 2009 WenBin87 http://wwb.appspot.com FindBugs, a nice tool for java developer. If you are interested in it, go to its home page to learn more.

'Dead Store to local variable', when i see this bug, it really confused me. From the description of FindBug:


DLS: Dead store to local variable (DLS_DEAD_LOCAL_STORE)

This instruction assigns a value to a local variable, but the value is not read or used in any subsequent instruction. Often, this indicates an error, because the value computed is never used.

Note that Sun's javac compiler often generates dead stores for final local variables. Because FindBugs is a bytecode-based tool, there is no easy way to eliminate these false positives.


Next, let's see the code:

List<Post> list = new List<Post>();
list = getPostList();

From the first line, I get a new list, however, this 'new' method is useless, list is got by the return of getPostList().

To avoid this bug, we can just delete the new method, like this.

List<Post> list = getPostList();

]]>
WuWenbin's Blog http://wwb.appspot.com/post/8406/ Posts from WuWenbin's Blog Mon, 23 Mar 2009 00:59:01 +0000 http://wwb.appspot.com/feeds zh-cn hourly 1 Here comes an idea http://wwb.appspot.com/post/8406/ http://wwb.appspot.com/post/8406/#comments Mar 23, 2009 WenBin87 http://wwb.appspot.com Yeah, I just thought that I can translate some english articles, maybe some IT articles, into Chinese. As we all know, many newest thought or tips of IT are in English. To make more people in China know them, I can do this work. It just an idea, I have to make a deep thought

]]>
WuWenbin's Blog http://wwb.appspot.com/post/8401/ Posts from WuWenbin's Blog Fri, 13 Mar 2009 02:44:38 +0000 http://wwb.appspot.com/feeds zh-cn hourly 1 ThunderBird with RememberTheMilk and Google Canlendar http://wwb.appspot.com/post/8401/ http://wwb.appspot.com/post/8401/#comments Mar 13, 2009 WenBin87 http://wwb.appspot.com Yeah, now I'm using Thunderbird to receive email. And there exists addons to support RememberTheMilk and Google Canlendar in Thunderbird.

What you need to do is to download 3 addons

Lightning, Remember the Milk Provider and

Provider for Google Calendar

Hava a good time, everyone Laughing

]]>
WuWenbin's Blog http://wwb.appspot.com/post/7401/ Posts from WuWenbin's Blog Sat, 7 Mar 2009 00:38:49 +0000 http://wwb.appspot.com/feeds zh-cn hourly 1 A busy week http://wwb.appspot.com/post/7401/ http://wwb.appspot.com/post/7401/#comments Mar 07, 2009 WenBin87 http://wwb.appspot.com This week, I took lesson about taobao. The lesson were one day long, and I was a little tired.Innocent

However, all these would give me knowledge, so, try harder

]]>
WuWenbin's Blog http://wwb.appspot.com/post/6402/ Posts from WuWenbin's Blog Wed, 25 Feb 2009 04:27:38 +0000 http://wwb.appspot.com/feeds zh-cn hourly 1 The first time http://wwb.appspot.com/post/6402/ http://wwb.appspot.com/post/6402/#comments Feb 25, 2009 WenBin87 http://wwb.appspot.com Yeah, I found that the number of people from Beijing concentrate on my blog had been over that from Tianjin.

Congratuations to myself Cool

]]>
WuWenbin's Blog http://wwb.appspot.com/post/5402/ Posts from WuWenbin's Blog Tue, 24 Feb 2009 00:33:16 +0000 http://wwb.appspot.com/feeds zh-cn hourly 1 Internship http://wwb.appspot.com/post/5402/ http://wwb.appspot.com/post/5402/#comments Feb 24, 2009 WenBin87 http://wwb.appspot.com I'm in Hangzhou now. I'm lonely at nightFrown

It's cold here and always rains. I hope everything gets better.

]]>
WuWenbin's Blog http://wwb.appspot.com/post/4401/ Posts from WuWenbin's Blog Wed, 18 Feb 2009 03:56:52 +0000 http://wwb.appspot.com/feeds zh-cn hourly 1 Hangzhou, wait for me http://wwb.appspot.com/post/4401/ http://wwb.appspot.com/post/4401/#comments Feb 18, 2009 WenBin87 http://wwb.appspot.com Hangzhou, a famous and beautiful city in China. I will work there. I will sit in the train in next several hours, and arrive at Hangzhou tomorrow.

]]>