[
http://opencast.jira.com/browse/MH-9184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=31872#comment-31872
]
Stephen Marquard commented on MH-9184:
--------------------------------------
As IoSupport.readFileFromURL is _only_ currently called from SchedulerImpl.java
for a local file, and that instance can be replaced directly in SchedulerImpl
with
File file = new File(localCalendarCacheURL.getFile());
calendarString = FileUtils.readFileToString(file, "UTF-8");
and the non-local-file code in IoSupport.readFileFromURL would have the same
problem if it was ever used, it seems the best thing to do here is:
1. Update SchedulerImpl to use FileUtils directly (rather than have another
wrapper around a utility method)
2. Remove the readFileFromURL entirely from IoScheduler.
> CA's die on calendar updates that include unicode strings
> ---------------------------------------------------------
>
> Key: MH-9184
> URL: http://opencast.jira.com/browse/MH-9184
> Project: Matterhorn Project
> Issue Type: Bug
> Components: Architecture & Services, Capture (Devices and Software)
> Affects Versions: 1.4, 1.3
> Reporter: Stephen Marquard
> Assignee: David Horwitz
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
http://opencast.jira.com/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Matterhorn mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn
To unsubscribe please email
[email protected]
_______________________________________________