Skip to content

Commit d54cedb

Browse files
committed
Cosmetical, instance creation syntax
1 parent d1ef0ac commit d54cedb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/boilerpipe/extract/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class Extractor(object):
2929

3030
def __init__(self, extractor='DefaultExtractor', **kwargs):
3131
self.extractor = jpype.JClass(
32-
"de.l3s.boilerpipe.extractors."+extractor).getInstance()
32+
"de.l3s.boilerpipe.extractors."+extractor).INSTANCE
3333
if kwargs.get('url'):
3434
request = urllib2.urlopen(kwargs['url'])
3535
self.data = request.read()

0 commit comments

Comments
 (0)