Skip to content

Commit

Permalink
Merge pull request eclipse#320 from harshitha-ravi/master
Browse files Browse the repository at this point in the history
Add implementation to TextProcessorEC.getHaikuAsCharAdapter() for haiku-kata-solutions module eclipse#286
  • Loading branch information
prathasirisha committed Sep 22, 2023
2 parents b0be0f1 + 6045e59 commit 31e40df
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,8 @@ private String getHaiku()

public CharAdapter getHaikuAsCharAdapter()
{
// TODO: Wrap this.getHaiku() in a CharAdapter
// Hint: Look a the Strings class.
return null;
// Hint: Wrap this.getHaiku() in a CharAdapter, Look at the Strings class.
return CharAdapter.adapt(this.getHaiku());
}

public ListIterable<CharIntPair> topLetters()
Expand Down

0 comments on commit 31e40df

Please sign in to comment.