提交 d06b6830 authored 作者: Noel Grandin's avatar Noel Grandin

javadoc and warnings fixes

上级 2d4f153e
...@@ -114,6 +114,7 @@ public class FileLock implements Runnable { ...@@ -114,6 +114,7 @@ public class FileLock implements Runnable {
lockSerialized(); lockSerialized();
break; break;
case FS: case FS:
case NO:
break; break;
} }
locked = true; locked = true;
......
...@@ -196,6 +196,7 @@ public abstract class Table extends SchemaObjectBase { ...@@ -196,6 +196,7 @@ public abstract class Table extends SchemaObjectBase {
* @param operation the operation * @param operation the operation
* @param row the row * @param row the row
*/ */
@SuppressWarnings("unused")
public void commit(short operation, Row row) { public void commit(short operation, Row row) {
// nothing to do // nothing to do
} }
...@@ -233,6 +234,7 @@ public abstract class Table extends SchemaObjectBase { ...@@ -233,6 +234,7 @@ public abstract class Table extends SchemaObjectBase {
* @param allColumnsSet all columns * @param allColumnsSet all columns
* @return the scan index * @return the scan index
*/ */
@SuppressWarnings("unused")
public Index getScanIndex(Session session, int[] masks, public Index getScanIndex(Session session, int[] masks,
TableFilter[] filters, int filter, SortOrder sortOrder, TableFilter[] filters, int filter, SortOrder sortOrder,
HashSet<Column> allColumnsSet) { HashSet<Column> allColumnsSet) {
...@@ -464,6 +466,7 @@ public abstract class Table extends SchemaObjectBase { ...@@ -464,6 +466,7 @@ public abstract class Table extends SchemaObjectBase {
* @param session the session * @param session the session
* @return true if it is * @return true if it is
*/ */
@SuppressWarnings("unused")
public boolean isLockedExclusivelyBy(Session session) { public boolean isLockedExclusivelyBy(Session session) {
return false; return false;
} }
...@@ -1160,6 +1163,7 @@ public abstract class Table extends SchemaObjectBase { ...@@ -1160,6 +1163,7 @@ public abstract class Table extends SchemaObjectBase {
* @return an object array with the sessions involved in the deadlock, or * @return an object array with the sessions involved in the deadlock, or
* null * null
*/ */
@SuppressWarnings("unused")
public ArrayList<Session> checkDeadlock(Session session, Session clash, public ArrayList<Session> checkDeadlock(Session session, Session clash,
Set<Session> visited) { Set<Session> visited) {
return null; return null;
......
...@@ -617,7 +617,6 @@ public abstract class Value { ...@@ -617,7 +617,6 @@ public abstract class Value {
* @param mode the conversion mode * @param mode the conversion mode
* @param column the column that contains the ENUM datatype enumerators, * @param column the column that contains the ENUM datatype enumerators,
* for dealing with ENUM conversions * for dealing with ENUM conversions
* @param mode the database mode
* @return the converted value * @return the converted value
*/ */
public Value convertTo(int targetType, int precision, Mode mode, Column column) { public Value convertTo(int targetType, int precision, Mode mode, Column column) {
......
...@@ -83,19 +83,11 @@ public class ValueLob extends Value { ...@@ -83,19 +83,11 @@ public class ValueLob extends Value {
/** /**
* Create a reader that is s subset of the given reader. * Create a reader that is s subset of the given reader.
* *
<<<<<<< Updated upstream
* @param reader the input reader * @param reader the input reader
* @param oneBasedOffset the offset (1 means no offset) * @param oneBasedOffset the offset (1 means no offset)
* @param length the length of the result, in bytes * @param length the length of the result, in bytes
* @param dataSize the length of the input, in bytes * @param dataSize the length of the input, in bytes
* @return the smaller input stream * @return the smaller input stream
=======
* @param reader the source reader
* @param oneBasedOffset the offset (1 means no offset)
* @param length the length of the result, in characters
* @param dataSize the length of the input, in characters
* @return the smaller reader
>>>>>>> Stashed changes
*/ */
static Reader rangeReader(Reader reader, long oneBasedOffset, long length, long dataSize) { static Reader rangeReader(Reader reader, long oneBasedOffset, long length, long dataSize) {
if (dataSize > 0) if (dataSize > 0)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论