File tree 28 files changed +30
-30
lines changed
index-more/src/java/org/apache/nutch/indexer/more
indexer-cloudsearch/src/java/org/apache/nutch/indexwriter/cloudsearch
indexer-elastic/src/java/org/apache/nutch/indexwriter/elastic
indexer-kafka/src/java/org/apache/nutch/indexwriter/kafka
lib-http/src/java/org/apache/nutch/protocol/http/api
parse-tika/src/java/org/apache/nutch/parse/tika
parsefilter-regex/src/java/org/apache/nutch/parsefilter/regex
protocol-httpclient/src/java/org/apache/nutch/protocol/httpclient
urlfilter-domain/src/java/org/apache/nutch/urlfilter/domain
urlfilter-domaindenylist/src/java/org/apache/nutch/urlfilter/domaindenylist
urlfilter-fast/src/java/org/apache/nutch/urlfilter/fast
urlnormalizer-host/src/java/org/apache/nutch/net/urlnormalizer/host
urlnormalizer-protocol/src/java/org/apache/nutch/net/urlnormalizer/protocol
urlnormalizer-querystring/src/java/org/apache/nutch/net/urlnormalizer/querystring
urlnormalizer-slash/src/java/org/apache/nutch/net/urlnormalizer/slash
28 files changed +30
-30
lines changed Original file line number Diff line number Diff line change 21
21
import org .apache .hadoop .io .FloatWritable ;
22
22
import org .apache .nutch .metadata .Nutch ;
23
23
import org .apache .nutch .util .NutchConfiguration ;
24
- import org .apache .commons .lang .StringUtils ;
24
+ import org .apache .commons .lang3 .StringUtils ;
25
25
26
26
import org .slf4j .Logger ;
27
27
import org .slf4j .LoggerFactory ;
Original file line number Diff line number Diff line change 22
22
import java .lang .invoke .MethodHandles ;
23
23
import java .util .HashMap ;
24
24
25
- import org .apache .commons .lang .StringUtils ;
25
+ import org .apache .commons .lang3 .StringUtils ;
26
26
import org .apache .hadoop .conf .Configuration ;
27
27
import org .apache .hadoop .io .Text ;
28
28
import org .apache .nutch .metadata .HttpHeaders ;
Original file line number Diff line number Diff line change 21
21
import java .util .HashMap ;
22
22
import java .util .Map ;
23
23
24
- import org .apache .commons .lang .StringUtils ;
24
+ import org .apache .commons .lang3 .StringUtils ;
25
25
26
26
/**
27
27
* A decorator to Metadata that adds spellchecking capabilities to property
Original file line number Diff line number Diff line change 31
31
import org .apache .nutch .util .ObjectCache ;
32
32
import org .apache .nutch .util .URLUtil ;
33
33
34
- import org .apache .commons .lang .StringUtils ;
34
+ import org .apache .commons .lang3 .StringUtils ;
35
35
36
36
import org .apache .hadoop .conf .Configuration ;
37
37
Original file line number Diff line number Diff line change 24
24
import java .util .concurrent .atomic .AtomicInteger ;
25
25
26
26
import org .apache .commons .collections .MapUtils ;
27
- import org .apache .commons .lang .StringUtils ;
27
+ import org .apache .commons .lang3 .StringUtils ;
28
28
import org .apache .hadoop .conf .Configuration ;
29
29
import org .apache .nutch .service .ConfManager ;
30
30
import org .apache .nutch .service .model .request .NutchConfig ;
Original file line number Diff line number Diff line change 18
18
19
19
import java .util .Collection ;
20
20
21
- import org .apache .commons .lang .StringUtils ;
21
+ import org .apache .commons .lang3 .StringUtils ;
22
22
import org .apache .hadoop .conf .Configuration ;
23
23
import org .apache .nutch .service .ConfManager ;
24
24
import org .apache .nutch .service .JobManager ;
Original file line number Diff line number Diff line change 24
24
import java .util .concurrent .TimeUnit ;
25
25
26
26
import org .apache .commons .collections .CollectionUtils ;
27
- import org .apache .commons .lang .StringUtils ;
27
+ import org .apache .commons .lang3 .StringUtils ;
28
28
import org .apache .nutch .service .model .response .JobInfo ;
29
29
30
30
import com .google .common .collect .Lists ;
Original file line number Diff line number Diff line change 25
25
26
26
import org .apache .commons .httpclient .URIException ;
27
27
import org .apache .commons .httpclient .util .URIUtil ;
28
- import org .apache .commons .lang .NotImplementedException ;
28
+ import org .apache .commons .lang3 .NotImplementedException ;
29
29
import org .apache .hadoop .conf .Configuration ;
30
30
import org .apache .nutch .metadata .Metadata ;
31
31
import org .apache .nutch .parse .ParseData ;
Original file line number Diff line number Diff line change 27
27
import java .util .List ;
28
28
import java .util .concurrent .atomic .AtomicInteger ;
29
29
30
- import org .apache .commons .lang .NotImplementedException ;
31
- import org .apache .commons .lang .StringUtils ;
30
+ import org .apache .commons .lang3 .NotImplementedException ;
31
+ import org .apache .commons .lang3 .StringUtils ;
32
32
import org .apache .hadoop .conf .Configuration ;
33
33
import org .apache .nutch .metadata .Metadata ;
34
34
import org .apache .nutch .parse .ParseData ;
Original file line number Diff line number Diff line change 31
31
import java .util .UUID ;
32
32
import java .util .concurrent .TimeUnit ;
33
33
34
- import org .apache .commons .lang .StringUtils ;
34
+ import org .apache .commons .lang3 .StringUtils ;
35
35
import org .apache .commons .lang3 .time .StopWatch ;
36
36
import org .apache .hadoop .conf .Configuration ;
37
37
import org .apache .hadoop .conf .Configured ;
Original file line number Diff line number Diff line change 18
18
19
19
import org .apache .commons .codec .digest .DigestUtils ;
20
20
import org .apache .commons .io .FileUtils ;
21
- import org .apache .commons .lang .StringUtils ;
21
+ import org .apache .commons .lang3 .StringUtils ;
22
22
import org .apache .hadoop .io .MD5Hash ;
23
23
import org .slf4j .Logger ;
24
24
import org .slf4j .LoggerFactory ;
Original file line number Diff line number Diff line change 24
24
import org .apache .commons .jexl3 .JexlBuilder ;
25
25
import org .apache .commons .jexl3 .JexlEngine ;
26
26
import org .apache .commons .jexl3 .JexlScript ;
27
- import org .apache .commons .lang .time .DateUtils ;
27
+ import org .apache .commons .lang3 .time .DateUtils ;
28
28
29
29
import org .slf4j .Logger ;
30
30
import org .slf4j .LoggerFactory ;
Original file line number Diff line number Diff line change 16
16
*/
17
17
package org .apache .nutch .util ;
18
18
19
- import org .apache .commons .lang .StringUtils ;
19
+ import org .apache .commons .lang3 .StringUtils ;
20
20
21
21
import java .net .MalformedURLException ;
22
22
import java .net .URL ;
Original file line number Diff line number Diff line change 51
51
import java .util .regex .Pattern ;
52
52
import java .util .regex .PatternSyntaxException ;
53
53
54
- import org .apache .commons .lang .StringUtils ;
55
- import org .apache .commons .lang .time .DateUtils ;
54
+ import org .apache .commons .lang3 .StringUtils ;
55
+ import org .apache .commons .lang3 .time .DateUtils ;
56
56
57
57
import java .io .File ;
58
58
import java .net .URL ;
Original file line number Diff line number Diff line change 33
33
import java .util .Map .Entry ;
34
34
35
35
import org .apache .commons .io .FileUtils ;
36
- import org .apache .commons .lang .StringUtils ;
36
+ import org .apache .commons .lang3 .StringUtils ;
37
37
import org .apache .hadoop .conf .Configuration ;
38
38
import org .apache .nutch .indexer .IndexWriter ;
39
39
import org .apache .nutch .indexer .IndexWriterParams ;
Original file line number Diff line number Diff line change 27
27
28
28
import javax .net .ssl .SSLContext ;
29
29
30
- import org .apache .commons .lang .StringUtils ;
30
+ import org .apache .commons .lang3 .StringUtils ;
31
31
import org .apache .hadoop .conf .Configuration ;
32
32
import org .apache .http .HttpHost ;
33
33
import org .apache .http .auth .AuthScope ;
Original file line number Diff line number Diff line change 16
16
*/
17
17
package org .apache .nutch .indexwriter .kafka ;
18
18
19
- import org .apache .commons .lang .StringUtils ;
19
+ import org .apache .commons .lang3 .StringUtils ;
20
20
import org .apache .commons .lang3 .exception .ExceptionUtils ;
21
21
import org .apache .hadoop .conf .Configuration ;
22
22
import org .apache .nutch .indexer .IndexWriter ;
Original file line number Diff line number Diff line change 25
25
26
26
import org .slf4j .Logger ;
27
27
import org .slf4j .LoggerFactory ;
28
- import org .apache .commons .lang .StringUtils ;
28
+ import org .apache .commons .lang3 .StringUtils ;
29
29
import org .apache .hadoop .conf .Configuration ;
30
30
import org .apache .nutch .crawl .CrawlDatum ;
31
31
import org .apache .nutch .net .protocols .Response ;
Original file line number Diff line number Diff line change 27
27
import java .util .Map ;
28
28
import java .util .Set ;
29
29
30
- import org .apache .commons .lang .StringUtils ;
30
+ import org .apache .commons .lang3 .StringUtils ;
31
31
import org .apache .hadoop .conf .Configuration ;
32
32
import org .apache .html .dom .HTMLDocumentImpl ;
33
33
import org .apache .nutch .metadata .Nutch ;
Original file line number Diff line number Diff line change 36
36
import org .apache .nutch .plugin .PluginRepository ;
37
37
import org .apache .nutch .protocol .Content ;
38
38
39
- import org .apache .commons .lang .StringUtils ;
39
+ import org .apache .commons .lang3 .StringUtils ;
40
40
41
41
import org .slf4j .Logger ;
42
42
import org .slf4j .LoggerFactory ;
Original file line number Diff line number Diff line change 48
48
import org .apache .commons .httpclient .protocol .Protocol ;
49
49
import org .apache .commons .httpclient .protocol .ProtocolSocketFactory ;
50
50
import org .apache .commons .httpclient .protocol .SSLProtocolSocketFactory ;
51
- import org .apache .commons .lang .StringUtils ;
51
+ import org .apache .commons .lang3 .StringUtils ;
52
52
import org .apache .nutch .crawl .CrawlDatum ;
53
53
import org .apache .nutch .net .protocols .Response ;
54
54
import org .apache .nutch .protocol .ProtocolException ;
Original file line number Diff line number Diff line change 25
25
import java .util .LinkedHashSet ;
26
26
import java .util .Set ;
27
27
28
- import org .apache .commons .lang .StringUtils ;
28
+ import org .apache .commons .lang3 .StringUtils ;
29
29
import org .slf4j .Logger ;
30
30
import org .slf4j .LoggerFactory ;
31
31
import org .apache .hadoop .conf .Configuration ;
Original file line number Diff line number Diff line change 25
25
import java .util .LinkedHashSet ;
26
26
import java .util .Set ;
27
27
28
- import org .apache .commons .lang .StringUtils ;
28
+ import org .apache .commons .lang3 .StringUtils ;
29
29
import org .slf4j .Logger ;
30
30
import org .slf4j .LoggerFactory ;
31
31
import org .apache .hadoop .conf .Configuration ;
Original file line number Diff line number Diff line change 18
18
19
19
import com .google .common .collect .LinkedHashMultimap ;
20
20
import com .google .common .collect .Multimap ;
21
- import org .apache .commons .lang .StringUtils ;
21
+ import org .apache .commons .lang3 .StringUtils ;
22
22
import org .apache .hadoop .conf .Configuration ;
23
23
import org .apache .hadoop .fs .Path ;
24
24
import org .apache .hadoop .io .compress .CompressionCodec ;
Original file line number Diff line number Diff line change 26
26
import java .net .URL ;
27
27
import java .util .HashMap ;
28
28
29
- import org .apache .commons .lang .StringUtils ;
29
+ import org .apache .commons .lang3 .StringUtils ;
30
30
import org .slf4j .Logger ;
31
31
import org .slf4j .LoggerFactory ;
32
32
import org .apache .hadoop .conf .Configuration ;
Original file line number Diff line number Diff line change 29
29
import java .util .TreeMap ;
30
30
import java .util .regex .Pattern ;
31
31
32
- import org .apache .commons .lang .StringUtils ;
32
+ import org .apache .commons .lang3 .StringUtils ;
33
33
import org .slf4j .Logger ;
34
34
import org .slf4j .LoggerFactory ;
35
35
Original file line number Diff line number Diff line change 22
22
import java .util .Collections ;
23
23
import java .util .List ;
24
24
25
- import org .apache .commons .lang .StringUtils ;
25
+ import org .apache .commons .lang3 .StringUtils ;
26
26
import org .apache .hadoop .conf .Configuration ;
27
27
import org .apache .nutch .net .URLNormalizer ;
28
28
Original file line number Diff line number Diff line change 27
27
import java .util .HashMap ;
28
28
import java .util .Map ;
29
29
30
- import org .apache .commons .lang .StringUtils ;
30
+ import org .apache .commons .lang3 .StringUtils ;
31
31
import org .slf4j .Logger ;
32
32
import org .slf4j .LoggerFactory ;
33
33
import org .apache .hadoop .conf .Configuration ;
You can’t perform that action at this time.
0 commit comments