Plug atomix into the build
[controller.git] / third-party / atomix / storage / src / main / java / io / atomix / storage / buffer / FileBytes.java
index 326e8eda86ba23e5b8a4dac2072c7ac6c92b76ce..8784d2407d0f8e461e0d93be4151273cf22a7b14 100644 (file)
@@ -162,7 +162,7 @@ public class FileBytes extends AbstractBytes {
 
   /**
    * Maps a portion of the randomAccessFile into memory in {@link FileChannel.MapMode#READ_WRITE} mode and returns
-   * a {@link UnsafeMappedBytes} instance.
+   * a {@link MappedBytes} instance.
    *
    * @param offset The offset from which to map the randomAccessFile into memory.
    * @param size   The count of the bytes to map into memory.
@@ -175,7 +175,7 @@ public class FileBytes extends AbstractBytes {
   }
 
   /**
-   * Maps a portion of the randomAccessFile into memory and returns a {@link UnsafeMappedBytes} instance.
+   * Maps a portion of the randomAccessFile into memory and returns a {@link MappedBytes} instance.
    *
    * @param offset The offset from which to map the randomAccessFile into memory.
    * @param size   The count of the bytes to map into memory.