[
http://opencast.jira.com/browse/MH-9154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=31846#comment-31846
]
Rubén Pérez Vázquez commented on MH-9154:
-----------------------------------------
Sorry for the frankness but I have some strong opinions about this:
I wonder why all that fuss using streams and adaptors and who-knows-what when
all you want is sending a file as the body of the message:
Response.ok(theFile).header("Content-Length", theFile.length()); Unless, of
course, you want to rewrite the functionality that Jersey already provides.
On the other hand, the sintax: return method().method2().method3(param1, new
param2 { inline_method_definition { return inline_method_definition2 { return
something } }) --or something like that, I got lost in the middle--, does not
exactly help to make the code maintainable. Last time I checked, Java was NOT a
functional language.
> Edit link does not work on Episode tab
> --------------------------------------
>
> Key: MH-9154
> URL: http://opencast.jira.com/browse/MH-9154
> Project: Matterhorn Project
> Issue Type: Bug
> Components: Architecture & Services
> Affects Versions: 1.4
> Reporter: Tobias Wunden
> Assignee: Lukas Rohner
> Priority: Release Blocker
> Fix For: 1.4
>
> Attachments: MH-9154.patch
>
>
--
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]
_______________________________________________