Skip to content

Commit 7ee187b

Browse files
committed
Added missing variable type declaration
1 parent c93a1fc commit 7ee187b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/com/github/dockerjava/core/command/CopyArchiveToContainerCmdImplTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ public void copyDirWithLastAddedTarEnryEmptyDir() throws Exception{
122122
@Test
123123
public void copyFileWithExecutePermission() throws Exception {
124124
// create script file, add permission to execute
125-
scriptPath = Files.createTempFile("run", ".sh");
125+
Path scriptPath = Files.createTempFile("run", ".sh");
126126
boolean executable = scriptPath.toFile().setExecutable(true, false);
127127
if (!executable){
128128
throw new Exception("Execute permission on file not set!");

0 commit comments

Comments
 (0)