Skip to content

Commit

Permalink
trivial commit to address NUTCH-1276
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/nutch/trunk@1291030 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
Lewis John McGibbney committed Feb 19, 2012
1 parent 866591e commit afe6852
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/java/org/apache/nutch/crawl/MapWritable.java
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@
* @author Stefan Groschupf
* @deprecated Use org.apache.hadoop.io.MapWritable instead.
*/

@Deprecated
public class MapWritable implements Writable {

public static final Logger LOG = LoggerFactory.getLogger(MapWritable.class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
* Base exception for all protocol handlers
* @deprecated Use {@link org.apache.nutch.protocol.ProtocolException} instead.
*/
@Deprecated
@SuppressWarnings("serial")
public class ProtocolException extends Exception implements Serializable {

Expand Down
2 changes: 2 additions & 0 deletions src/java/org/apache/nutch/parse/OutlinkExtractor.java
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ public static Outlink[] getOutlinks(final String plainText, String anchor, Confi
* @return Array of <code>Outlink</code> s within found in plainText
* @deprecated only for tests
*/
@Deprecated
private Outlink[] getOutlinksJakartaRegexpImpl(final String plainText) {

throw new UnsupportedOperationException(
Expand Down Expand Up @@ -200,6 +201,7 @@ private Outlink[] getOutlinksJakartaRegexpImpl(final String plainText) {
* @return Array of <code>Outlink</code> s within found in plainText
* @deprecated only for tests
*/
@Deprecated
private Outlink[] getOutlinksJDK5Impl(final String plainText) {

throw new UnsupportedOperationException(
Expand Down
1 change: 1 addition & 0 deletions src/test/org/apache/nutch/crawl/CrawlDBTestUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ public static void createCrawlDb(Configuration conf, FileSystem fs, Path crawldb
* @return
* @deprecated Use {@link #createConfiguration()} instead
*/
@Deprecated
public static Configuration create(){
return createConfiguration();
}
Expand Down

0 comments on commit afe6852

Please sign in to comment.