I get it now.
But shouldn't it be changed to char [] so it is more widely understood by
new contributors?
I found it in use a bit too frequently.

On Feb 8, 2017 20:51, "Suneel Marthi" <[email protected]> wrote:

> In Java both are valid syntaxes to represent an array of chars, the
> preferred syntax should have been char[] eosCharacters.
>
> The getter method actually returns a char[]
>
> public char[] getEndOfSentenceCharacters() {
>   return eosCharacters;
> }
>
>
> On Wed, Feb 8, 2017 at 10:01 AM, ABHISHEK MAITI <[email protected]
> >
> wrote:
>
> > Hi!
> > I was going through the codebase which is present on Github. I found a
> line
> > in this
> > <https://github.com/apache/opennlp/blob/master/opennlp-
> > tools/src/main/java/opennlp/tools/sentdetect/
> DefaultEndOfSentenceScanner.
> > java>
> > file which I couldn't understand (line no. 31).Is it supposed to be char
> > eosCharacters[]? I was expecting it to be char[] eosCharacters.
> >
> > Thanks!
> >
> > *Abhishek Maiti*
> > *B.Tech 2016 | Computer Science and Engineering*
> > Indraprastha Institute Of Information Technology
> > New Delhi
> > +918447549121
> >
>

Reply via email to