提交 2161dad7 authored 作者: Thomas Mueller's avatar Thomas Mueller

Fix license formatting.

上级 3a257a31
/*
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License, Version
* 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html). Initial Developer: H2 Group
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License,
* Version 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package android.app;
......
/*
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License, Version
* 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html). Initial Developer: H2 Group
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License,
* Version 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package android.content;
......
/*
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License, Version
* 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html). Initial Developer: H2 Group
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License,
* Version 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package android.content;
......
/*
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License, Version
* 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html). Initial Developer: H2 Group
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License,
* Version 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package android.content;
......@@ -11,7 +12,8 @@ package android.content;
public class Context {
/**
* The file may only be accessed by this application, or by application with the same user ID.
* The file may only be accessed by this application, or by application with
* the same user ID.
*/
public static final int MODE_PRIVATE = 0;
......
/*
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License, Version
* 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html). Initial Developer: H2 Group
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License,
* Version 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package android.database;
......
/*
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License, Version
* 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html). Initial Developer: H2 Group
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License,
* Version 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package android.database;
......
/*
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License, Version
* 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html). Initial Developer: H2 Group
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License,
* Version 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package android.database;
......
/*
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License, Version
* 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html). Initial Developer: H2 Group
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License,
* Version 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package android.database;
......
/*
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License, Version
* 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html). Initial Developer: H2 Group
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License,
* Version 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package android.database;
......
/*
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License, Version
* 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html). Initial Developer: H2 Group
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License,
* Version 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package android.database;
......
/*
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License, Version
* 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html). Initial Developer: H2 Group
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License,
* Version 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package android.database;
......
/*
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License, Version
* 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html). Initial Developer: H2 Group
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License,
* Version 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package android.database;
......
/*
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License, Version
* 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html). Initial Developer: H2 Group
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License,
* Version 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package android.database.sqlite;
......
/*
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License, Version
* 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html). Initial Developer: H2 Group
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License,
* Version 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package android.net;
......
/*
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License, Version
* 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html). Initial Developer: H2 Group
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License,
* Version 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package android.os;
......
/*
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License, Version
* 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html). Initial Developer: H2 Group
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License,
* Version 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package android.test;
......
/*
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License, Version
* 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html). Initial Developer: H2 Group
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License,
* Version 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package org.h2.android;
......
/*
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License, Version
* 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html). Initial Developer: H2 Group
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License,
* Version 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package org.h2.android;
......
/*
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License, Version
* 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html). Initial Developer: H2 Group
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License,
* Version 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package org.h2.android;
......
/*
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License, Version
* 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html). Initial Developer: H2 Group
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License,
* Version 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package org.h2.android;
......
/*
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License, Version
* 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html). Initial Developer: H2 Group
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License,
* Version 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package org.h2.android;
......@@ -24,14 +25,14 @@ public interface H2CursorDriver {
/**
* The query was re-run.
*
*
* @param cursor the old cursor
*/
void cursorRequeried(Cursor cursor);
/**
* Execute the query.
*
*
* @param factory the cursor factory
* @param bindArgs the parameter values
* @return the cursor
......@@ -40,7 +41,7 @@ public interface H2CursorDriver {
/**
* Set the parameter values.
*
*
* @param bindArgs the parameter values.
*/
void setBindArguments(String[] bindArgs);
......
/*
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License, Version
* 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html). Initial Developer: H2 Group
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License,
* Version 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package org.h2.android;
......
/*
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License,
* Version 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package org.h2.android;
/**
......
/*
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License,
* Version 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package org.h2.android;
/**
......
/*
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License,
* Version 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package org.h2.android;
/**
......
/*
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License, Version
* 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html). Initial Developer: H2 Group
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License,
* Version 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package org.h2.android;
......
/*
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License, Version
* 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html). Initial Developer: H2 Group
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License,
* Version 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package org.h2.android;
......
/*
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License, Version
* 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html). Initial Developer: H2 Group
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License,
* Version 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package org.h2.android;
......
/*
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License, Version
* 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html). Initial Developer: H2 Group
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License,
* Version 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package org.h2.android;
......@@ -15,7 +16,7 @@ public abstract class H2OpenHelper {
/**
* Construct a new instance.
*
*
* @param context the context to use
* @param name the name of the database (use null for an in-memory database)
* @param factory the cursor factory to use
......@@ -34,7 +35,7 @@ public abstract class H2OpenHelper {
/**
* Open a read-only connection.
*
*
* @return a new read-only connection
*/
public synchronized H2Database getReadableDatabase() {
......@@ -43,7 +44,7 @@ public abstract class H2OpenHelper {
/**
* Open a read-write connection.
*
*
* @return a new read-write connection
*/
public synchronized H2Database getWritableDatabase() {
......@@ -52,14 +53,14 @@ public abstract class H2OpenHelper {
/**
* This method is called when the database did not already exist.
*
*
* @param db the connection
*/
public abstract void onCreate(H2Database db);
/**
* This method is called after opening the database.
*
*
* @param db the connection
*/
public void onOpen(H2Database db) {
......@@ -69,7 +70,7 @@ public abstract class H2OpenHelper {
/**
* This method is called when the version stored in the database file does
* not match the expected value.
*
*
* @param db the connection
* @param oldVersion the current version
* @param newVersion the expected version
......
/*
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License, Version
* 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html). Initial Developer: H2 Group
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License,
* Version 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package org.h2.android;
......@@ -25,7 +26,7 @@ public class H2Program extends H2Closable {
/**
* Set the specified parameter value.
*
*
* @param index the parameter index (0, 1,...)
* @param value the new value
*/
......@@ -36,7 +37,7 @@ public class H2Program extends H2Closable {
/**
* Set the specified parameter value.
*
*
* @param index the parameter index (0, 1,...)
* @param value the new value
*/
......@@ -46,7 +47,7 @@ public class H2Program extends H2Closable {
/**
* Set the specified parameter value.
*
*
* @param index the parameter index (0, 1,...)
* @param value the new value
*/
......@@ -56,7 +57,7 @@ public class H2Program extends H2Closable {
/**
* Set the specified parameter to NULL.
*
*
* @param index the parameter index (0, 1,...)
*/
public void bindNull(int index) {
......@@ -65,7 +66,7 @@ public class H2Program extends H2Closable {
/**
* Set the specified parameter value.
*
*
* @param index the parameter index (0, 1,...)
* @param value the new value
*/
......@@ -89,7 +90,7 @@ public class H2Program extends H2Closable {
/**
* Get the unique id of this statement.
*
*
* @return the id
*/
public final int getUniqueId() {
......
/*
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License, Version
* 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html). Initial Developer: H2 Group
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License,
* Version 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package org.h2.android;
......@@ -18,7 +19,7 @@ public class H2Query extends H2Program {
/**
* Set the specified parameter value.
*
*
* @param index the parameter index (0, 1,...)
* @param value the new value
*/
......@@ -28,7 +29,7 @@ public class H2Query extends H2Program {
/**
* Set the specified parameter value.
*
*
* @param index the parameter index (0, 1,...)
* @param value the new value
*/
......@@ -38,7 +39,7 @@ public class H2Query extends H2Program {
/**
* Set the specified parameter to NULL.
*
*
* @param index the parameter index (0, 1,...)
*/
public void bindNull(int index) {
......@@ -47,7 +48,7 @@ public class H2Query extends H2Program {
/**
* Set the specified parameter value.
*
*
* @param index the parameter index (0, 1,...)
* @param value the new value
*/
......
......@@ -23,7 +23,7 @@ public class H2QueryBuilder {
/**
* Append the column to the string builder. The columns are separated by
* comma.
*
*
* @param s the target string builder
* @param columns the columns
*/
......@@ -38,7 +38,7 @@ public class H2QueryBuilder {
/**
* Return the SELECT statement for the given parameters.
*
*
* @param distinct if only distinct rows should be returned
* @param tables the list of tables
* @param columns the list of columns
......@@ -78,7 +78,7 @@ public class H2QueryBuilder {
/**
* Append the text to the where clause.
*
*
* @param inWhere the text to append
*/
void appendWhere(CharSequence inWhere) {
......@@ -87,7 +87,7 @@ public class H2QueryBuilder {
/**
* Append the text to the where clause. The text is escaped.
*
*
* @param inWhere the text to append
*/
void appendWhereEscapeString(String inWhere) {
......@@ -96,7 +96,7 @@ public class H2QueryBuilder {
/**
* Return the SELECT UNION statement for the given parameters.
*
*
* @param projectionIn TODO
* @param selection TODO
* @param selectionArgs TODO
......@@ -113,7 +113,7 @@ public class H2QueryBuilder {
/**
* Return the SELECT UNION statement for the given parameters.
*
*
* @param subQueries TODO
* @param orderBy the order by list or null
* @param limit the limit or null
......@@ -126,7 +126,7 @@ public class H2QueryBuilder {
/**
* Return the SELECT UNION statement for the given parameters.
*
*
* @param typeDiscriminatorColumn TODO
* @param unionColumns TODO
* @param columnsPresentInTable TODO
......@@ -147,7 +147,7 @@ public class H2QueryBuilder {
/**
* Get the list of tables.
*
*
* @return the list of tables
*/
String getTables() {
......@@ -156,7 +156,7 @@ public class H2QueryBuilder {
/**
* Run the query for the given parameters.
*
*
* @param db the connection
* @param projectionIn TODO
* @param selection TODO
......@@ -173,7 +173,7 @@ public class H2QueryBuilder {
/**
* Run the query for the given parameters.
*
*
* @param db the connection
* @param projectionIn TODO
* @param selection TODO
......@@ -191,7 +191,7 @@ public class H2QueryBuilder {
/**
* Set the cursor factory.
*
*
* @param factory the new value
*/
void setCursorFactory(H2Database.CursorFactory factory) {
......@@ -200,7 +200,7 @@ public class H2QueryBuilder {
/**
* Enable or disable the DISTINCT flag.
*
*
* @param distinct the new value
*/
void setDistinct(boolean distinct) {
......@@ -209,7 +209,7 @@ public class H2QueryBuilder {
/**
* TODO
*
*
* @param columnMap TODO
*/
void setProjectionMap(Map<String, String> columnMap) {
......@@ -218,7 +218,7 @@ public class H2QueryBuilder {
/**
* Set the list of tables.
*
*
* @param inTables the list of tables
*/
void setTables(String inTables) {
......
......@@ -32,7 +32,7 @@ public class H2Statement extends H2Program {
/**
* Execute the insert statement and return the id of the inserted row.
*
*
* @return the id of the inserted row
*/
public long executeInsert() {
......@@ -42,7 +42,7 @@ public class H2Statement extends H2Program {
/**
* Execute the query and return the value of the first column and row as a
* long.
*
*
* @return the value
*/
public long simpleQueryForLong() {
......@@ -52,7 +52,7 @@ public class H2Statement extends H2Program {
/**
* Execute the query and return the value of the first column and row as a
* string.
*
*
* @return the value
*/
public String simpleQueryForString() {
......
/*
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License, Version
* 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html). Initial Developer: H2 Group
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License,
* Version 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package org.h2.android;
......
/*
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License, Version
* 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html). Initial Developer: H2 Group
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License,
* Version 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package org.h2.android;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论