Skip to content

Commit e73a74a

Browse files
Change confusing archive target name
1 parent 7a388d0 commit e73a74a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

core/src/main/java/oracle/weblogic/deploy/util/WLSDeployArchive.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public class WLSDeployArchive {
7474
/**
7575
* Top-level archive subdirectory where the $DOMAIN_HOME/bin scripts are stored.
7676
*/
77-
public static final String ARCHIVE_DOMBIN_TARGET_DIR = WLSDPLY_ARCHIVE_BINARY_DIR + "/domainBin";
77+
public static final String ARCHIVE_DOM_BIN_TARGET_DIR = WLSDPLY_ARCHIVE_BINARY_DIR + "/domainBin";
7878
/**
7979
* Top-level archive subdirectory where the FileStore directories are stored and the subdirectory
8080
* to which they will be extracted.
@@ -734,7 +734,7 @@ public String addDomainBinScript(File domainBinPath) throws WLSDeployArchiveIOEx
734734
LOGGER.entering(CLASS, METHOD, domainBinPath);
735735
validateExistingFile(domainBinPath, "domainBinPath", getArchiveFileName(), METHOD);
736736

737-
String newName = addItemToZip(ARCHIVE_DOMBIN_TARGET_DIR, domainBinPath);
737+
String newName = addItemToZip(ARCHIVE_DOM_BIN_TARGET_DIR, domainBinPath);
738738
LOGGER.exiting(CLASS, METHOD, newName);
739739
return newName;
740740
}
@@ -749,9 +749,9 @@ public List<String> listDomainBinScripts() throws WLSDeployArchiveIOException {
749749
final String METHOD = "listDomainBinScripts";
750750

751751
LOGGER.entering(CLASS, METHOD);
752-
List<String> result = getZipFile().listZipEntries(ARCHIVE_DOMBIN_TARGET_DIR + ZIP_SEP);
752+
List<String> result = getZipFile().listZipEntries(ARCHIVE_DOM_BIN_TARGET_DIR + ZIP_SEP);
753753
// Remove the top-level directory entry from the list...
754-
result.remove(ARCHIVE_DOMBIN_TARGET_DIR + ZIP_SEP);
754+
result.remove(ARCHIVE_DOM_BIN_TARGET_DIR + ZIP_SEP);
755755
LOGGER.exiting(CLASS, METHOD, result);
756756
return result;
757757
}

0 commit comments

Comments
 (0)