Skip to Content.
Sympa Menu

idok-commit - [idok-commit] idok commit r386 - trunk/java/ch/idok/service/client/search/rest

idok-commit AT lists.psi.ch

Subject: Commit emails of the iDok project

List archive

[idok-commit] idok commit r386 - trunk/java/ch/idok/service/client/search/rest


Chronological Thread 
  • From: "AFS account Florian Huebner" <huebner AT savannah.psi.ch>
  • To: idok-commit AT lists.psi.ch
  • Subject: [idok-commit] idok commit r386 - trunk/java/ch/idok/service/client/search/rest
  • Date: Wed, 30 Sep 2009 14:28:02 +0200
  • List-archive: <https://lists.web.psi.ch/pipermail/idok-commit/>
  • List-id: Commit emails of the iDok project <idok-commit.lists.psi.ch>

Author: huebner
Date: Wed Sep 30 14:28:02 2009
New Revision: 386

Log:
Added a cast to please the newest Java version

Modified:
trunk/java/ch/idok/service/client/search/rest/RestSearchIterator.java

Modified:
trunk/java/ch/idok/service/client/search/rest/RestSearchIterator.java
==============================================================================
--- trunk/java/ch/idok/service/client/search/rest/RestSearchIterator.java
(original)
+++ trunk/java/ch/idok/service/client/search/rest/RestSearchIterator.java
Wed Sep 30 14:28:02 2009
@@ -175,7 +175,7 @@
.getProperty("ch.idok.service.server.principal");
try {
// In Java 5 this ugly type cast is necessary
- final String token = Subject.doAsPrivileged(cred
+ final String token = (String) Subject.doAsPrivileged(cred
.getSubject(), new PrivilegedExceptionAction<String>() {
public String run() throws Exception {
return NegotiateFilter.buildToken64(serviceName);



  • [idok-commit] idok commit r386 - trunk/java/ch/idok/service/client/search/rest, AFS account Florian Huebner, 09/30/2009

Archive powered by MHonArc 2.6.19.

Top of Page