Removed useless TODOs

This commit is contained in:
Patrick Gotthard 2014-04-13 20:39:21 +02:00
parent e63c849766
commit 1033b00b57
3 changed files with 5 additions and 20 deletions

View file

@ -58,27 +58,15 @@ import com.sun.syndication.io.impl.NumberParser;
* *
*/ */
public class MediaModuleParser implements ModuleParser { public class MediaModuleParser implements ModuleParser {
private static final Logger LOG = Logger.getLogger(MediaModuleParser.class.getName());
/* private static final Logger LOG = Logger.getLogger(MediaModuleParser.class.getName());
* Namespace instance for this URI.
*/
private static final Namespace NS = Namespace.getNamespace(MediaModule.URI); private static final Namespace NS = Namespace.getNamespace(MediaModule.URI);
/*
* (non-Javadoc)
* @see com.sun.syndication.io.ModuleParser#getNamespaceUri()
*/
@Override @Override
public String getNamespaceUri() { public String getNamespaceUri() {
// TODO Auto-generated method stub
return MediaModule.URI; return MediaModule.URI;
} }
/*
* (non-Javadoc)
* @see com.sun.syndication.io.ModuleParser#parse(org.jdom2.Element)
*/
@Override @Override
public Module parse(final Element mmRoot, final Locale locale) { public Module parse(final Element mmRoot, final Locale locale) {
MediaModuleImpl mod = null; MediaModuleImpl mod = null;
@ -436,4 +424,5 @@ public class MediaModuleParser implements ModuleParser {
public Namespace getNS() { public Namespace getNS() {
return NS; return NS;
} }
} }

View file

@ -115,14 +115,15 @@ public class ContentItemTest extends TestCase {
/** /**
* this is a stupid test. * this is a stupid test.
* *
* @todo make better Test of ContentResource method, of class com.totsp.xml.syndication.content.ContentItem. * @todo make better Test of ContentResource method, of class
* com.totsp.xml.syndication.content.ContentItem.
*/ */
public void testEquals() { public void testEquals() {
System.out.println("testEquals"); System.out.println("testEquals");
final String test = "http://www.w3.org/2000/svg"; final String test = "http://www.w3.org/2000/svg";
assertTrue(test.equals(test)); assertTrue(test.equals(test));
final ContentItem test2 = (ContentItem) ContentModuleImplTest.contentItems.get(0); final ContentItem test2 = ContentModuleImplTest.contentItems.get(0);
assertTrue(!test.equals(test2)); assertTrue(!test.equals(test2));
final ContentItem test3 = new ContentItem(); final ContentItem test3 = new ContentItem();
test3.setContentFormat(new String("http://www.w3.org/1999/xhtml")); test3.setContentFormat(new String("http://www.w3.org/1999/xhtml"));
@ -132,7 +133,5 @@ public class ContentItemTest extends TestCase {
test3.setContentValue(new String("<em>This is <strong>very</strong></em> <strong>cool</strong>.")); test3.setContentValue(new String("<em>This is <strong>very</strong></em> <strong>cool</strong>."));
// assertEquals( test2, test3 ); // assertEquals( test2, test3 );
} }
// TODO add test methods here. The name must begin with 'test'. For example:
// public void testHello() {}
} }

View file

@ -126,7 +126,4 @@ public class ContentModuleImplTest extends TestCase {
& test.getEncodeds().equals(module.getEncodeds())); & test.getEncodeds().equals(module.getEncodeds()));
} }
// TODO add test methods here. The name must begin with 'test'. For example:
// public void testHello() {}
} }