Skip to content

Commit

Permalink
Unified naming-scheme of wrapper-classes
Browse files Browse the repository at this point in the history
  • Loading branch information
JaniruTEC committed May 22, 2020
1 parent 74ff4eb commit 5204c3b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
8 changes: 4 additions & 4 deletions src/main/java/dev/dokan/dokan_java/wrappers/FindFileInfo.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package dev.dokan.dokan_java.wrappers;

import com.sun.jna.platform.win32.WinBase;
import dev.dokan.dokan_java.DokanyUtils;
import dev.dokan.dokan_java.DokanUtils;
import dev.dokan.dokan_java.constants.EnumInteger;
import dev.dokan.dokan_java.constants.microsoft.FileAttribute;
import dev.dokan.dokan_java.constants.microsoft.MicrosoftReparsePointTag;
Expand Down Expand Up @@ -125,9 +125,9 @@ public WinBase.WIN32_FIND_DATA toWIN32_FIND_DATA() {
int fileSizeLow = (int) (fileSize & 0xffffffffL);

return new WinBase.WIN32_FIND_DATA(getFlags(),
DokanyUtils.toFILETIME(getCreationTime()),
DokanyUtils.toFILETIME(getLastAccessTime()),
DokanyUtils.toFILETIME(getLastWriteTime()),
DokanUtils.toFILETIME(getCreationTime()),
DokanUtils.toFILETIME(getLastAccessTime()),
DokanUtils.toFILETIME(getLastWriteTime()),
fileSizeHigh,
fileSizeLow,
getReparsePointTagValueLeniently(),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
package dev.dokan.dokan_java.wrappers;

import dev.dokan.dokan_java.DokanyOperations;

import dev.dokan.dokan_java.DokanOperations;
import dev.dokan.dokan_java.constants.microsoft.FileSystemFlag;
import dev.dokan.dokan_java.structure.EnumIntegerSet;

/**
* Supplementary class to bundle information of the mounted volume and its filesystem.
* <p>Mainly used for {@link DokanyOperations#GetVolumeInformation} function to have all needed information at one place.</p>
* <p>Mainly used for {@link DokanOperations#GetVolumeInformation} function to have all needed information at one place.</p>
* TODO: Maybe this can be completely integrated in the DokanyFileSystem class
*/
public final class VolumeInformation {
Expand Down

0 comments on commit 5204c3b

Please sign in to comment.