Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Commit

Permalink
resolved bug where line wrapping for calendar events was buggy in som…
Browse files Browse the repository at this point in the history
…e cases.
  • Loading branch information
rhodey committed Jul 21, 2014
1 parent 66d1215 commit 6265bf9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ public Optional<ComponentETagPair<Calendar>> getHiddenComponent(String uid)
return originalComponentPair;

String recoveredComponentText = HidingUtil.decodeAndDecryptIfNecessary(masterCipher, protectedComponent.getValue());
StringReader stringReader = new StringReader(recoveredComponentText.replace("\n ", ""));
StringReader stringReader = new StringReader(recoveredComponentText);
CalendarBuilder calendarBuilder = new CalendarBuilder();

try {
Expand Down Expand Up @@ -219,7 +219,7 @@ public List<ComponentETagPair<Calendar>> getHiddenComponents()
recoveredComponentPairs.add(exposedComponentPair);
else {
String recoveredComponentText = HidingUtil.decodeAndDecryptIfNecessary(masterCipher, protectedComponent.getValue());
StringReader stringReader = new StringReader(recoveredComponentText.replace("\n ", ""));
StringReader stringReader = new StringReader(recoveredComponentText);
CalendarBuilder calendarBuilder = new CalendarBuilder();

try {
Expand Down

0 comments on commit 6265bf9

Please sign in to comment.