<?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>FactoryPattern.com &#187; Eclipse</title>
	<atom:link href="http://www.factorypattern.com/category/eclipse/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.factorypattern.com</link>
	<description>Just another Object Oriented Weblog</description>
	<lastBuildDate>Sat, 02 Jan 2010 22:08:06 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>How to Avoid Generics Related Warnings in Eclipse</title>
		<link>http://www.factorypattern.com/how-to-avoid-generics-related-warnings-in-eclipse/</link>
		<comments>http://www.factorypattern.com/how-to-avoid-generics-related-warnings-in-eclipse/#comments</comments>
		<pubDate>Thu, 07 Aug 2008 20:50:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[generics]]></category>
		<category><![CDATA[warnings]]></category>

		<guid isPermaLink="false">http://www.factorypattern.com/how-to-avoid/</guid>
		<description><![CDATA[I get tones of exceptions in my code because I tend to use Generics in the old-fashioned way. I have my reasons for that. And I have tons of warnings like those:

HashMap is a raw type. References to generic type HashMap should be parameterized
Type safety: The method put(Object, Object) belongs to the raw type Map. [...]]]></description>
			<content:encoded><![CDATA[<p>I get tones of exceptions in my code because I tend to use Generics in the old-fashioned way. I have my reasons for that. And I have tons of warnings like those:</p>
<ul>
<li>HashMap is a raw type. References to generic type HashMap<K,V> should be parameterized</li>
<li>Type safety: The method put(Object, Object) belongs to the raw type Map. References to generic type Map<K,V> should be parameterized</li>
</ul>
<p><span id="more-32"></span><br />
Just because I use to write code like this in java 1.5:</p>
<pre><code>Map parametersMap = new HashMap();
parametersMap.put(properties.get("input.key"), page);</code></pre>
<p>I decided to say, no I don&#8217;t want to see them again. You can change the Project Properties in eclipse to ignore them: Right Click on the Project > Java Compiler > Errors / Warnings like in the snapshot (notice you can change this setting only for your specific project or for entire workspace):</p>
<p><a href='http://www.factorypattern.com/wp-content/uploads/2008/08/eclipse-warnings.png' title='Skip eclipse warnings generated by generics'><img src='http://www.factorypattern.com/wp-content/uploads/2008/08/eclipse-warnings.png' alt='Skip eclipse warnings generated by generics' /></a></p>
<div style="text-align:center;"><a href="http://api.tweetmeme.com/share?url=http://www.factorypattern.com/how-to-avoid-generics-related-warnings-in-eclipse/"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://www.factorypattern.com/how-to-avoid-generics-related-warnings-in-eclipse/" height="61" width="51" /></a></div><h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li><a href="http://www.factorypattern.com/installing-eclipse-bazaar-plug-in-and-avoiding-%e2%80%98bzr-xmloutput-plugin-not-found%e2%80%99/" title="Installing Eclipse Bazaar plug-in and avoiding ‘bzr-xmloutput plugin not found’">Installing Eclipse Bazaar plug-in and avoiding ‘bzr-xmloutput plugin not found’</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.factorypattern.com/how-to-avoid-generics-related-warnings-in-eclipse/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Installing Eclipse Bazaar plug-in and avoiding ‘bzr-xmloutput plugin not found’</title>
		<link>http://www.factorypattern.com/installing-eclipse-bazaar-plug-in-and-avoiding-%e2%80%98bzr-xmloutput-plugin-not-found%e2%80%99/</link>
		<comments>http://www.factorypattern.com/installing-eclipse-bazaar-plug-in-and-avoiding-%e2%80%98bzr-xmloutput-plugin-not-found%e2%80%99/#comments</comments>
		<pubDate>Tue, 20 May 2008 13:06:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[bazaar]]></category>
		<category><![CDATA[bzr]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[source control]]></category>
		<category><![CDATA[xmloutput]]></category>

		<guid isPermaLink="false">http://www.factorypattern.com/installing-eclipse-bazaar-plug-in-and-avoiding-%e2%80%98bzr-xmloutput-plugin-not-found%e2%80%99/</guid>
		<description><![CDATA[I’ve installed the  eclipse plugin for bazaar. For me Bazaar is installed in C:\Java(don’t ask why I put it there, because I don’t know).

It&#8217;s really simple to install it:

Install the bazaar plugin bzr-xmloutput by unzipping the archive content in c:\&#8230;\Bazaar\plugins\xmloutput\ (wherever your bazaar is installed, the plugin subdirectory should be named xmloutput). For details [...]]]></description>
			<content:encoded><![CDATA[<p>I’ve installed the  eclipse plugin for bazaar. For me Bazaar is installed in C:\Java(don’t ask why I put it there, because I don’t know).<br />
<span id="more-22"></span><br />
It&#8217;s really simple to install it:</p>
<ul>
<li>Install the bazaar plugin <strong><a href="https://launchpad.net/bzr-xmloutput">bzr-xmloutput</a></strong> by unzipping the archive content in c:\&#8230;\Bazaar\plugins\xmloutput\ (wherever your bazaar is installed, the plugin subdirectory should be named xmloutput). For details you can check the plugin readme file.</li>
<li>Install the eclipse bazaar plugin: Go to  Help > Software updates > Find and install > Search for New Features to Install > New Remote Site. Use there the http://bzr-eclipse.sourceforge.net/update-site/ then pres finish and all the required operations to install the eclipse plugin. Restart eclipse and set the bzr.exe location from Window > Preferences > Team > Bazaar(scroll down for the picture). </li>
</ul>
<p>The detailed installing instructions are <a href="http://bazaar-vcs.org/BzrEclipse/Installation">here</a>. If you fail noticing the first step, like I did and don’t install the bzr-xmloutput plugin you’ll get “bzr-xmloutput plugin not found” exception like in the picture:</p>
<p><img src='http://www.factorypattern.com/wp-content/uploads/2008/05/bazaar-bzr-xmloutput-plugin-not-found.jpg' alt='bazaar ecipse plugin: bzr-xmloutput plugin not found' /></p>
<div style="text-align:center;"><a href="http://api.tweetmeme.com/share?url=http://www.factorypattern.com/installing-eclipse-bazaar-plug-in-and-avoiding-%e2%80%98bzr-xmloutput-plugin-not-found%e2%80%99/"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://www.factorypattern.com/installing-eclipse-bazaar-plug-in-and-avoiding-%e2%80%98bzr-xmloutput-plugin-not-found%e2%80%99/" height="61" width="51" /></a></div><h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li><a href="http://www.factorypattern.com/how-to-avoid-generics-related-warnings-in-eclipse/" title="How to Avoid Generics Related Warnings in Eclipse">How to Avoid Generics Related Warnings in Eclipse</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.factorypattern.com/installing-eclipse-bazaar-plug-in-and-avoiding-%e2%80%98bzr-xmloutput-plugin-not-found%e2%80%99/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.611 seconds -->
