<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>By Programmer For Programmer &#187; Uncategorized</title>
	<atom:link href="http://byprogrammerforprogrammer.com/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://byprogrammerforprogrammer.com</link>
	<description>Here I lay down the useful tips, tricks and utilities for programmers like myself.</description>
	<lastBuildDate>Fri, 02 Apr 2010 16:58:08 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>JProfiler Helping Out With HTML4Java</title>
		<link>http://byprogrammerforprogrammer.com/2010/04/jprofiler-helping-out-with-html4java/</link>
		<comments>http://byprogrammerforprogrammer.com/2010/04/jprofiler-helping-out-with-html4java/#comments</comments>
		<pubDate>Fri, 02 Apr 2010 16:57:00 +0000</pubDate>
		<dc:creator>Sean Adkinson</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://byprogrammerforprogrammer.com/?p=86</guid>
		<description><![CDATA[Just wanted to give props real quick to the awesome profiler JProfiler (http://www.ej-technologies.com/products/jprofiler/overview.html) for providing me with an open-source license to profile my open-source project HTML4Java (https://sourceforge.net/projects/html4java/).  The open-source community is so friendly  .
]]></description>
			<content:encoded><![CDATA[<p>Just wanted to give props real quick to the awesome profiler JProfiler (<a href="http://www.ej-technologies.com/products/jprofiler/overview.html">http://www.ej-technologies.com/products/jprofiler/overview.html</a>) for providing me with an open-source license to profile my open-source project HTML4Java (<a href="https://sourceforge.net/projects/html4java/">https://sourceforge.net/projects/html4java/</a>).  The open-source community is so friendly <img src='http://byprogrammerforprogrammer.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
]]></content:encoded>
			<wfw:commentRss>http://byprogrammerforprogrammer.com/2010/04/jprofiler-helping-out-with-html4java/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Java Nested Loops: break or continue</title>
		<link>http://byprogrammerforprogrammer.com/2010/03/java-nested-loops-break-or-continue/</link>
		<comments>http://byprogrammerforprogrammer.com/2010/03/java-nested-loops-break-or-continue/#comments</comments>
		<pubDate>Fri, 19 Mar 2010 23:58:37 +0000</pubDate>
		<dc:creator>Sean Adkinson</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://byprogrammerforprogrammer.com/?p=82</guid>
		<description><![CDATA[Ever wanted to continue from a doubly-nested for loop?  How about break from a switch statement more than one level deep?
Simple!  First you have to label your loop, and then put that label name after the break or continue keyword.
&#8220;continue&#8221; example:

fooloop: for(foo: foos) {
    ...
    barloop: for(bar [...]]]></description>
			<content:encoded><![CDATA[<p>Ever wanted to <code>continue</code> from a doubly-nested <code>for</code> loop?  How about <code>break</code> from a <code>switch</code> statement more than one level deep?</p>
<p>Simple!  First you have to label your loop, and then put that label name after the <code>break</code> or <code>continue</code> keyword.</p>
<p>&#8220;continue&#8221; example:</p>
<pre>
fooloop: for(foo: foos) {
    ...
    barloop: for(bar : bars) {
        ...
        for (blotto : blottos) {
            ...
            if (next_innermost_loop)
                continue; //normal
            if (next_middle_loop)
                continue barloop; //goes to the next iteration of "barloop"
            if (next_outer_loop)
                continue fooloop; //goes to the next iteration of the outermost loop, "fooloop"
        }
    }
}
</pre>
<p>&#8220;break&#8221; example:</p>
<pre>
fooswitch: switch(foo) {
    case 1:
        ...
        break;
    case 2:
        ...
       switch(bar) {
            ...
            if (break_this_switch)
                break; //normal
            if (break_outer_switch)
                break fooswitch; // breaks out of the out switch, "fooswitch"
        }
}
</pre>
<p>While most might consider this bad practice, when writing some scratch code to do some one-off task that only you will ever use, sometimes it&#8217;s nice to use a shortcut <img src='http://byprogrammerforprogrammer.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
]]></content:encoded>
			<wfw:commentRss>http://byprogrammerforprogrammer.com/2010/03/java-nested-loops-break-or-continue/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Eclipse/Tomcat publishing lockup: &#8220;Could not delete file&#8230; may be locked by another process&#8221;</title>
		<link>http://byprogrammerforprogrammer.com/2009/12/eclipsetomcat-publishing-lockup-could-not-delete-file-may-be-locked-by-another-process/</link>
		<comments>http://byprogrammerforprogrammer.com/2009/12/eclipsetomcat-publishing-lockup-could-not-delete-file-may-be-locked-by-another-process/#comments</comments>
		<pubDate>Tue, 22 Dec 2009 21:47:28 +0000</pubDate>
		<dc:creator>Sean Adkinson</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://byprogrammerforprogrammer.com/?p=74</guid>
		<description><![CDATA[I was getting the annoying error in Eclipse with Tomcat where it didn&#8217;t think it could publish an application since some files were locked, when they were locked by the javaw.exe process that eclipse.exe started.  The fix for me was to not have &#8220;Use Tomcat installation&#8221; selected in my server configuration.  When I [...]]]></description>
			<content:encoded><![CDATA[<p>I was getting the annoying error in Eclipse with Tomcat where it didn&#8217;t think it could publish an application since some files were locked, when they were locked by the javaw.exe process that eclipse.exe started.  The fix for me was to not have &#8220;Use Tomcat installation&#8221; selected in my server configuration.  When I switched back to the default of &#8220;Use workspace metadata&#8221;, the error stopped happening.</p>
]]></content:encoded>
			<wfw:commentRss>http://byprogrammerforprogrammer.com/2009/12/eclipsetomcat-publishing-lockup-could-not-delete-file-may-be-locked-by-another-process/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
