directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lécharny <elecha...@gmail.com>
Subject Re: svn commit: r1732129 - in /directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/replication: ClientInitialRefreshIT.java StaleEventLogDetectionIT.java
Date Wed, 24 Feb 2016 13:09:37 GMT
Hi Stefan

I'm a bit surprised that you've get a compile error with
FileUtils.getTempDirectory()...

It builds fine here.



Le 24/02/16 13:29, seelmann@apache.org a écrit :
> Author: seelmann
> Date: Wed Feb 24 12:29:14 2016
> New Revision: 1732129
>
> URL: http://svn.apache.org/viewvc?rev=1732129&view=rev
> Log:
> Fix compile error
>
> Modified:
>     directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/replication/ClientInitialRefreshIT.java
>     directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/replication/StaleEventLogDetectionIT.java
>
> Modified: directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/replication/ClientInitialRefreshIT.java
> URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/replication/ClientInitialRefreshIT.java?rev=1732129&r1=1732128&r2=1732129&view=diff
> ==============================================================================
> --- directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/replication/ClientInitialRefreshIT.java
(original)
> +++ directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/replication/ClientInitialRefreshIT.java
Wed Feb 24 12:29:14 2016
> @@ -95,7 +95,7 @@ public class ClientInitialRefreshIT
>              providerSession.add( entry );
>          }
>  
> -        cookiesDir = new File( FileUtils.getTempDirectory(), MockSyncReplConsumer.COOKIES_DIR_NAME
);
> +        cookiesDir = new File( FileUtils.getTempDirectoryPath(), MockSyncReplConsumer.COOKIES_DIR_NAME
);
>      }
>  
>  
>
> Modified: directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/replication/StaleEventLogDetectionIT.java
> URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/replication/StaleEventLogDetectionIT.java?rev=1732129&r1=1732128&r2=1732129&view=diff
> ==============================================================================
> --- directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/replication/StaleEventLogDetectionIT.java
(original)
> +++ directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/replication/StaleEventLogDetectionIT.java
Wed Feb 24 12:29:14 2016
> @@ -97,7 +97,7 @@ public class StaleEventLogDetectionIT
>              providerSession.add( entry );
>          }
>  
> -        cookiesDir = new File( FileUtils.getTempDirectory(), MockSyncReplConsumer.COOKIES_DIR_NAME
);
> +        cookiesDir = new File( FileUtils.getTempDirectoryPath(), MockSyncReplConsumer.COOKIES_DIR_NAME
);
>      }
>  
>  
>
>





Mime
View raw message