reckart / tt4j

TreeTagger for Java
http://reckart.github.io/tt4j/
Apache License 2.0
16 stars 7 forks source link

error occurring while using sample code "method asList(String[]) is undefined for the type tagging" #8

Closed reckart closed 9 years ago

reckart commented 9 years ago

Original issue 8 created by reckart on 2011-10-28T18:55:59.000Z:

What steps will reproduce the problem? 1.where tagging is my class under which i am usin the given code 2. 3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system? windows 7, v2.1 Please provide any additional information below.

reckart commented 9 years ago

Comment #1 originally posted by reckart on 2011-10-28T19:14:11.000Z:

sry version is 1.0.12

reckart commented 9 years ago

Comment #2 originally posted by reckart on 2011-10-29T10:32:00.000Z:

You have to add a static import:

import static java.util.Arrays.asList()

I have updated the example accordingly.