conflict_resolution stringlengths 27 16k |
|---|
<<<<<<<
lScaler.setStrategy(new LinearScaling());
this.scaler = lScaler;
featuresNames = (String[]) featureVectorBuilder.getFeatureNames().toArray(new String[0]);
param = getDefaultParam();
}
protected static svm_parameter clone(svm_parameter param) {
svm_parameter ret... |
<<<<<<<
=======
import java.io.BufferedWriter;
import java.io.FileInputStream;
import java.io.FileWriter;
>>>>>>>
import java.io.BufferedWriter;
import java.io.FileInputStream;
import java.io.FileWriter; |
<<<<<<<
/**
* Set the autoscale call back action. This action is called when it this scheduler determines that the
* cluster needs to be scaled up or down.
* @param callback The callback to invoke for autoscale actions.
* @throws IllegalStateException If autoscaler wasn't setup.
*/
publ... |
<<<<<<<
* Builder class for TaskScheduler.
=======
* The Builder is how you construct a {@link TaskScheduler} object with particular characteristics. Chain
* its methods and then call {@link #build build()} to create a {@code TaskScheduler}.
*
* @see <a href="https://en.wikipedia.org/wiki/Bui... |
<<<<<<<
*
* @param triggerDao dao implementation for {@code Trigger}
* @param threadPoolSize the thread pool size for the scheduler
=======
*
* @param triggerDao - dao implementation for {@code Trigger}
* @param threadPoolSize - the thread pool size for the scheduler
>>>>>>>
* ... |
<<<<<<<
class AutoScaleRules {
=======
/**
* This class maintains the set of autoscaling rules. You may define different autoscaling rules for different
* sets of hosts. For example, you may create an autoscaling group for a certain sort of workload and populate it
* with machines with a certain set of capabilitie... |
<<<<<<<
* @warn rewrite in active voice
* A constraint evaluator implementation to constrain tasks by a given host attribute.
* Ensure that tasks of a group are assigned to VMs that have unique values for a given attribute name.
*
* For example, given a host attribute {@code ZoneAttribute}, place one co-task per z... |
<<<<<<<
import javax.annotation.Nullable;
=======
import javax.enterprise.inject.Model;
>>>>>>>
import javax.annotation.Nullable;
import javax.enterprise.inject.Model;
<<<<<<<
=======
import org.apache.deltaspike.jpa.api.transaction.Transactional;
import org.zanata.seam.security.ZanataJpaIdentityStore;
>>>>>>>... |
<<<<<<<
=======
import android.app.ProgressDialog;
import android.content.Context;
import android.content.Intent;
>>>>>>>
<<<<<<<
=======
import org.sufficientlysecure.keychain.helper.ContactHelper;
import org.sufficientlysecure.keychain.service.KeychainIntentService;
import org.sufficientlysecure.keychain.servic... |
<<<<<<<
import android.app.AlertDialog;
=======
import android.app.Activity;
>>>>>>>
import android.app.AlertDialog;
import android.app.Activity;
<<<<<<<
mCurrentPassPhrase = "";
mIsBrandNewKeyring = true;
=======
mCurrentPassphrase = "";
>>>>>>>
mCurrentPassphrase = "";
m... |
<<<<<<<
import org.sufficientlysecure.keychain.service.input.CryptoInputParcel;
import org.sufficientlysecure.keychain.service.input.RequiredInputParcel;
=======
import org.sufficientlysecure.keychain.util.Passphrase;
>>>>>>>
import org.sufficientlysecure.keychain.service.input.CryptoInputParcel;
import org.sufficie... |
<<<<<<<
public boolean uploadKeyRingToServer(HkpKeyServer server, WrappedPublicKeyRing keyring) {
=======
public boolean uploadKeyRingToServer(HkpKeyserver server, PGPPublicKeyRing keyring) {
>>>>>>>
public boolean uploadKeyRingToServer(HkpKeyserver server, WrappedPublicKeyRing keyring) { |
<<<<<<<
private boolean canEdit = true;
private boolean oldItemDeleted = false;
private ArrayList<String> mDeletedIDs = new ArrayList<String>();
private ArrayList<PGPSecretKey> mDeletedKeys = new ArrayList<PGPSecretKey>();
=======
private boolean mCanEdit = true;
>>>>>>>
private boolean oldIt... |
<<<<<<<
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.sufficientlysecure.keychain.R;
import org.sufficientlysecure.keychain.pgp.PgpKeyHelper;
=======
>>>>>>>
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.sufficientlysecure.keychain.R;
import org.sufficient... |
<<<<<<<
import java.security.SignatureException;
import org.spongycastle.bcpg.ArmoredOutputStream;
import org.spongycastle.bcpg.UserAttributePacket;
import org.spongycastle.bcpg.UserAttributeSubpacket;
import android.content.*;
=======
import android.content.ContentProviderOperation;
import android.content.ContentRes... |
<<<<<<<
holder.mStatusDivider = view.findViewById(R.id.status_divider);
=======
>>>>>>> |
<<<<<<<
public class ViewKeyMainFragment extends Fragment implements
LoaderManager.LoaderCallbacks<Cursor>{
=======
public class ViewKeyMainFragment extends Fragment implements
LoaderManager.LoaderCallbacks<Cursor> {
>>>>>>>
public class ViewKeyMainFragment extends Fragment implements
LoaderM... |
<<<<<<<
if (mRequiredInput.mType != RequiredInputParcel.RequiredInputType.NFC_KEYTOCARD) {
obtainYubiKeyPin(RequiredInputParcel.createRequiredPassphrase(mRequiredInput));
}
=======
// obtain passphrase for this subkey
obtainYubiKeyPin(mRequiredInput);
>>>>>>>
// ob... |
<<<<<<<
this.mNfcSignedHash = builder.mNfcSignedHash;
this.mNfcCreationTimestamp = builder.mNfcCreationTimestamp;
=======
this.mOriginalFilename = builder.mOriginalFilename;
>>>>>>>
this.mNfcSignedHash = builder.mNfcSignedHash;
this.mNfcCreationTimestamp = builder.mNfcCreation... |
<<<<<<<
import org.sufficientlysecure.keychain.keyimport.Keyserver;
import org.sufficientlysecure.keychain.pgp.PgpConversionHelper;
=======
import org.sufficientlysecure.keychain.keyimport.ParcelableKeyRing;
import org.sufficientlysecure.keychain.pgp.UncachedSecretKey;
import org.sufficientlysecure.keychain.pgp.Wrapp... |
<<<<<<<
import org.sufficientlysecure.keychain.keyimport.Keyserver;
=======
import org.sufficientlysecure.keychain.keyimport.ImportKeysListEntry;
import org.sufficientlysecure.keychain.keyimport.KeybaseKeyserver;
>>>>>>>
import org.sufficientlysecure.keychain.keyimport.Keyserver;
import org.sufficientlysecure.keycha... |
<<<<<<<
import org.sufficientlysecure.keychain.service.KeychainIntentService;
import org.sufficientlysecure.keychain.service.KeychainIntentServiceHandler;
import org.sufficientlysecure.keychain.ui.base.BaseActivity;
import org.sufficientlysecure.keychain.ui.base.BaseNfcActivity;
=======
import org.sufficientlysecure.... |
<<<<<<<
=======
import com.google.common.util.concurrent.MoreExecutors;
import org.jboss.seam.Component;
>>>>>>>
import com.google.common.util.concurrent.MoreExecutors; |
<<<<<<<
import java.text.DateFormat;
import java.util.Calendar;
import java.util.Date;
import java.util.GregorianCalendar;
import java.util.TimeZone;
import java.util.Vector;
import org.spongycastle.bcpg.sig.KeyFlags;
import org.spongycastle.openpgp.PGPKeyFlags;
import org.spongycastle.openpgp.PGPPublicKey;
import org... |
<<<<<<<
=======
private Passphrase mCurrentPassphrase;
>>>>>>>
<<<<<<<
=======
@Override
public void onActivityResult(int requestCode, int resultCode, Intent data) {
switch (requestCode) {
case REQUEST_CODE_PASSPHRASE: {
if (resultCode == Activity.RESULT_OK && data ... |
<<<<<<<
public boolean getFirstTime() {
=======
public boolean getForceV3Signatures() {
return mSharedPreferences.getBoolean(Constants.Pref.FORCE_V3_SIGNATURES, false);
}
public void setForceV3Signatures(boolean value) {
SharedPreferences.Editor editor = mSharedPreferences.edit();
... |
<<<<<<<
public static final String CONCEAL_PGP_APPLICATION = "concealPgpApplication";
=======
public static final String FIRST_TIME = "firstTime";
>>>>>>>
public static final String CONCEAL_PGP_APPLICATION = "concealPgpApplication";
public static final String FIRST_TIME = "firstTime"; |
<<<<<<<
=======
import org.sufficientlysecure.keychain.pgp.exception.PgpGeneralException;
import org.sufficientlysecure.keychain.pgp.exception.PgpKeyNotFoundException;
import org.sufficientlysecure.keychain.provider.KeychainContract.KeyRings;
import org.sufficientlysecure.keychain.provider.ProviderHelper;
>>>>>>>
im... |
<<<<<<<
import org.sufficientlysecure.keychain.service.KeychainIntentServiceHandler;
import org.sufficientlysecure.keychain.service.input.CryptoInputParcel;
import org.sufficientlysecure.keychain.service.input.RequiredInputParcel;
import org.sufficientlysecure.keychain.ui.base.BaseActivity;
=======
import org.suffici... |
<<<<<<<
import org.sufficientlysecure.keychain.provider.KeychainContract;
import org.sufficientlysecure.keychain.provider.KeychainDatabase;
=======
import org.sufficientlysecure.keychain.provider.KeychainContract.KeyRings;
import org.sufficientlysecure.keychain.provider.KeychainContract.Keys;
import org.sufficientlys... |
<<<<<<<
@Override
=======
public String getPrimaryUserIdWithFallback() throws PgpGeneralException {
return getPrimaryUserId();
}
>>>>>>>
public String getPrimaryUserIdWithFallback() throws PgpGeneralException {
return getPrimaryUserId();
}
@Override |
<<<<<<<
import java.util.Arrays;
import java.util.HashMap;
import org.sufficientlysecure.keychain.Constants;
import org.sufficientlysecure.keychain.provider.KeychainContract.ApiApps;
import org.sufficientlysecure.keychain.provider.KeychainContract.KeyRings;
import org.sufficientlysecure.keychain.provider.KeychainContr... |
<<<<<<<
this.revoked = key.isRevoked();
this.fingerprintHex = PgpKeyHelper.convertFingerprintToHex(key.getFingerprint());
this.bitStrength = key.getBitStrength();
=======
this.mRevoked = key.maybeRevoked();
this.mFingerprintHex = PgpKeyHelper.convertFingerprintToHex(key.getFing... |
<<<<<<<
public PGPPublicKeyRing signKey(long masterKeyId, long pubKeyId, String passphrase)
throws PgpGeneralException, PGPException, SignatureException {
=======
public PGPPublicKeyRing certifyKey(long masterKeyId, long pubKeyId, String passphrase)
throws PgpGeneralException, NoSuchAl... |
<<<<<<<
import java.util.Iterator;
import java.util.List;
=======
import java.util.Arrays;
>>>>>>>
import java.util.Iterator;
import java.util.List;
import java.util.Arrays; |
<<<<<<<
=======
import android.widget.EditText;
import android.widget.ImageButton;
>>>>>>>
<<<<<<<
mFilename = (TextView) view.findViewById(R.id.filename);
mBrowse = (BootstrapButton) view.findViewById(R.id.btn_browse);
=======
mFilename = (EditText) view.findViewById(R.id.filename);
... |
<<<<<<<
// cache new passphrase
if (saveParcel.newPassphrase != null) {
PassphraseCacheService.addCachedPassphrase(this, masterKeyId, saveParcel.newPassphrase);
}
=======
>>>>>>> |
<<<<<<<
import java.util.ArrayList;
import java.util.GregorianCalendar;
import java.util.List;
import java.util.Vector;
import org.spongycastle.bcpg.sig.KeyFlags;
=======
import android.app.Activity;
import android.app.ProgressDialog;
import android.content.Context;
import android.content.DialogInterface;
import and... |
<<<<<<<
mFileFragmentBundle.putParcelable(DecryptFileFragment.ARG_URI, uri);
mSwitchToTab = PAGER_TAB_FILE;
} else {
=======
// get file path from uri
String path = FileHelper.getPath(this, uri);
if (path != null) {
mFileFragmentBund... |
<<<<<<<
import ch.logixisland.anuto.business.game.GameState;
import ch.logixisland.anuto.business.game.GameStateListener;
import ch.logixisland.anuto.business.score.CreditsListener;
import ch.logixisland.anuto.business.score.ScoreBoard;
import ch.logixisland.anuto.business.tower.TowerBuildView;
import ch.logixisland.an... |
<<<<<<<
import org.hibernate.validator.constraints.NotEmpty;
=======
import org.hibernate.search.annotations.Index;
import org.hibernate.search.annotations.Indexed;
import org.hibernate.validator.Length;
import org.hibernate.validator.NotEmpty;
>>>>>>>
import org.hibernate.validator.constraints.NotEmpty;
import org.... |
<<<<<<<
=======
import java.io.InputStream;
import ch.bfh.anuto.game.data.Level;
import ch.bfh.anuto.game.objects.impl.BasicTower;
import ch.bfh.anuto.game.objects.impl.RocketTower;
>>>>>>> |
<<<<<<<
private static final String PREF_BACK = "backButtonEnabled";
=======
private static final String PREF_TRANSPARENT_TOWER_INFO = "transparentTowerInfoEnabled";
>>>>>>>
private static final String PREF_BACK = "backButtonEnabled";
private static final String PREF_TRANSPARENT_TOWER_INFO = "transpa... |
<<<<<<<
missingLocaleVersionMap = null;
=======
selectedLocale = null;
selectedVersion = null;
>>>>>>>
selectedLocale = null;
selectedVersion = null;
missingLocaleVersionMap = null; |
<<<<<<<
* Obtains an instance of {@code ThaiBuddhistDate} from the Thai Buddhist proleptic year,
* month-of-year and day-of-month. This uses the Thai Buddhist era.
*
* @param prolepticYear the year to represent in the Thai Buddhist era, from 1 to MAX_YEAR
* @param month the month-of-year to r... |
<<<<<<<
// matches()
//-----------------------------------------------------------------------
@Test(groups={"tck"})
public void test_matches() {
assertTrue(TEST_2007_07_15.matches(new CalendricalMatcher() {
public boolean matchesCalendrical(Calendrical calendrical) {
... |
<<<<<<<
=======
/**
* Hours per minute.
*/
public static final int HOURS_PER_DAY = 24;
/**
* Minutes per hour.
*/
public static final int MINUTES_PER_HOUR = 60;
/**
* Minutes per day.
*/
public static final int MINUTES_PER_DAY = MINUTES_PER_HOUR * HOURS_PER_DAY;
... |
<<<<<<<
=======
import org.jboss.seam.core.Events;
import org.jboss.seam.security.management.JpaIdentityStore;
>>>>>>>
import org.jboss.seam.security.management.JpaIdentityStore;
<<<<<<<
import org.zanata.events.LanguageDisabled;
import org.zanata.events.LanguageEnabled;
import org.zanata.util.Event;
=======
impo... |
<<<<<<<
public ChronoDate<JapaneseChronology> date(DateTimeAccessor calendrical) {
if (calendrical instanceof LocalDate) {
return new JapaneseDate((LocalDate) calendrical);
=======
public ChronoDate date(DateTimeAccessor dateTime) {
if (dateTime instanceof LocalDate) {
... |
<<<<<<<
public ChronoDate<CopticChronology> dateFromYearDay(Era<CopticChronology> era, int yearOfEra, int dayOfYear) {
throw new UnsupportedOperationException("Not supported yet.");
}
@Override
public ChronoDate<CopticChronology> date(DateTimeAccessor calendrical) {
if (calendrical inst... |
<<<<<<<
=======
import org.zanata.webtrans.client.ui.OptionsPanelView;
import org.zanata.webtrans.client.ui.TransMemoryMergePopupPanelDisplay;
import org.zanata.webtrans.client.ui.TransMemoryMergePopupPanelView;
>>>>>>>
import org.zanata.webtrans.client.ui.OptionsPanelView;
import org.zanata.webtrans.client.ui.Trans... |
<<<<<<<
import liquibase.CatalogAndSchema;
import liquibase.database.AbstractJdbcDatabase;
=======
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.regex.Pattern;
import liquibase.change.CheckSum;
im... |
<<<<<<<
import java.io.BufferedInputStream;
import java.io.BufferedReader;
import java.io.Closeable;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.Reader;
import java.io.UnsupportedEncodingException;
=======
import java.io.*;
>>>>>>>
impor... |
<<<<<<<
import liquibase.serializer.LiquibaseSerializable;
import liquibase.serializer.ReflectionSerializer;
import liquibase.statement.SequenceFunction;
import liquibase.structure.core.*;
import liquibase.statement.DatabaseFunction;
import liquibase.util.ISODateFormat;
import liquibase.util.StringUtils;
=======
>>... |
<<<<<<<
if (nonUnique) {
List<Column> columns = ((Index) example).getColumns();
PrimaryKey tablePK = new PrimaryKey(null, schema.getCatalogName(), schema.getName(), tableName, columns.toArray(new Column[((Index) example).getColumns().size()]));
... |
<<<<<<<
catalogMatches = workCatalogAndSchema.getCatalogName().equalsIgnoreCase(thisCatalogAndSchema
.getCatalogName());
=======
catalogMatches = equals(accordingTo, catalogAndSchema.getCatalogName(),thisCatalogAndSchema.getCatalogName());
>>>>>>>
catalogMatche... |
<<<<<<<
=======
changeLogString = newChangeLogString;
} else if (changeLogFile.toLowerCase().endsWith(".json")) {
changeLogString = changeLogString.replaceFirst("\\[", "\\[\n" +
"\"changeLogId\"" + ":" + "\"" + hubChangeLog.getId().toString() + "\",\n");
} ... |
<<<<<<<
for (DatabaseObject object : diffResult.getMissingObjects(type, new DatabaseObjectComparator() {
@Override
public int compare(DatabaseObject o1, DatabaseObject o2) {
if ((o1 instanceof Column) && (o1.getAttribute(ORDER_ATTRIBUTE, Integer.class) != ... |
<<<<<<<
"and systable.table_name = '" + database.correctObjectName(example.getRelation().getName(), Table.class) + "'";
} else if (database instanceof InformixDatabase) {
sql = getUniqueConstraintsSqlInformix((InformixDatabase)database, schema, name);
=======
... |
<<<<<<<
if (! (executor instanceof LoggingExecutor)) {
changeExecListener = new HubChangeExecListener(updateOperation, changeExecListener);
=======
if (connection != null) {
if (changeExecListener != null) {
throw new Runt... |
<<<<<<<
private Map<String, Integer> timesSingleQueried = new HashMap<>();
private Map<String, Boolean> didBulkQuery = new HashMap<>();
=======
private Map<String, Integer> timesSingleQueried = new HashMap<String, Integer>();
private Map<String, Boolean> didBulkQuery = new HashMap<String, Boolean>();
... |
<<<<<<<
private boolean deleteCascade;
private boolean initiallyDeferred;
private boolean deferrable;
=======
private boolean deleteCascade = false;
private boolean initiallyDeferred = false;
private boolean deferrable = false;
/**
* Default value is true
*/
private boolean v... |
<<<<<<<
changeLogString = changeLogString.replaceFirst("--liquibase formatted sql",
"--liquibase formatted sql changeLogId:" + hubChangeLog.getId().toString());
} else if (changeLogFile.toLowerCase().endsWith(".json")) {
changeLogString = changeLogString.replaceFirst(... |
<<<<<<<
database.setCanCacheLiquibaseTableInfo(false);
LogFactory.getInstance().getLog().info("Successfully released change log lock");
=======
LogFactory.getLog(getClass()).info(LogTarget.LOG, "Successfully released change log lock");
>>>>>>>
database.... |
<<<<<<<
LogService.getLog(getClass()).info(LogType.USER_MESSAGE, "Rolling Back Changeset:" + changeSet);
changeSet.rollback(this.database);
=======
LogFactory.getLogger().info("Rolling Back Changeset:" + changeSet);
changeSet.rollback(this.database, this.execListener);
>>>>>>>
... |
<<<<<<<
if ((database instanceof OracleDatabase) && (statement.getConstraintName() != null)) {
=======
if (database instanceof OracleDatabase && statement.getConstraintName() != null) {
nullableString += !statement.isValidate() ? " ENABLE NOVALIDATE " : "";
>>>>>>>
if ((database i... |
<<<<<<<
import liquibase.database.jvm.JdbcConnection;
=======
import liquibase.database.jvm.JdbcConnection;
import liquibase.database.jvm.SybaseASAConnection;
import liquibase.structure.DatabaseObject;
>>>>>>>
import liquibase.database.jvm.JdbcConnection;
import liquibase.database.jvm.SybaseASAConnection;
import liq... |
<<<<<<<
InsertSetStatement statementSet = this.createStatementSet(
getCatalogName(), getSchemaName(), getTableName()
);
=======
if (statements.isEmpty()) {
// avoid returning unnecessary dummy statement
return new SqlStat... |
<<<<<<<
private static final String PRODUCT_NAME = "Informix Dynamic Server";
private static final String TIME_FIELD_QUALIFIER = "HOUR TO FRACTION(5)";
=======
private static final String PRODUCT_NAME = "Informix Dynamic Server"; // product name returned by Informix driver
private static final String PRO... |
<<<<<<<
import liquibase.hub.model.OperationChange;
=======
import liquibase.hub.model.OperationEvent;
>>>>>>>
import liquibase.hub.model.OperationChange;
import liquibase.hub.model.OperationEvent;
<<<<<<<
=======
syncHub();
>>>>>>>
syncHub(); |
<<<<<<<
*
* @param username The username used for the connection. Used with MSSQL databases
* @param defaultCatalogName Catalog name and schema name are similar concepts.
* Used if defaultCatalogName is null.
* @param defaultSchemaName Catalog name and schem... |
<<<<<<<
"JOIN ALL_INDEXES i ON (i.index_name = c.index_name and i.table_owner = c.table_owner)" +
"LEFT JOIN all_ind_expressions e ON e.column_position = c.column_position AND e.index_name = c.index_name " +
"LEFT JOIN dba_r... |
<<<<<<<
import liquibase.exception.UnexpectedLiquibaseException;
=======
import liquibase.exception.ValidationErrors;
>>>>>>>
import liquibase.exception.UnexpectedLiquibaseException;
import liquibase.exception.ValidationErrors;
<<<<<<<
import java.sql.SQLException;
=======
import java.sql.ResultSet;
import java.s... |
<<<<<<<
if (absoluteFile.isAbsolute()) {
try {
fileStream = new BufferedInputStream(new FileInputStream(absoluteFile));
} catch (FileNotFoundException e) {
//will try relative
}
=======
if (absoluteFile.exists() && absoluteFile.isFile... |
<<<<<<<
DatabaseChangeLog changeLog = new DatabaseChangeLog(physicalChangeLogLocation);
=======
if (parsedYaml == null || parsedYaml.size() == 0) {
throw new ChangeLogParseException("Empty file " + physicalChangeLogLocation);
}
>>>>>>>
if (parsedYaml ... |
<<<<<<<
HubChangeLog getChangeLog(String changeLogId);
HubChangeLog createChangeLogId(Project project) throws LiquibaseException;
=======
Environment createEnvironment(UUID projectId, Environment environment) throws LiquibaseHubException;
HubChangeLog getChangeLog(String changeLogId) throws Liquibase... |
<<<<<<<
fixedWhereClause = fixedWhereClause.replaceFirst("\\?", Pattern.quote(DataTypeFactory.getInstance().fromObject(param, database).objectToSql(param, database)));
=======
fixedWhereClause = fixedWhereClause.replaceFirst("\\?|:value", DataTypeFactory.getInstance().fromObject(param,... |
<<<<<<<
=======
import static org.junit.Assert.*;
import java.math.BigInteger;
>>>>>>>
import static org.junit.Assert.*;
import java.math.BigInteger;
<<<<<<<
=======
import liquibase.database.DatabaseConnection;
import liquibase.database.core.H2Database;
>>>>>>>
import liquibase.database.DatabaseConnection;
... |
<<<<<<<
import liquibase.changelog.DatabaseChangeLog;
=======
import liquibase.changelog.visitor.ChangeExecListener;
>>>>>>>
import liquibase.changelog.visitor.ChangeExecListener;
import liquibase.changelog.DatabaseChangeLog; |
<<<<<<<
import liquibase.util.StringUtil;
import liquibase.util.NowAndTodayUtil;
=======
import liquibase.util.StringUtils;
import liquibase.util.NowAndTodayUtil;
>>>>>>>
import liquibase.util.StringUtil;
import liquibase.util.NowAndTodayUtil;
import liquibase.util.NowAndTodayUtil; |
<<<<<<<
StringBuilder banner = new StringBuilder();
banner.append("####################################################\n" +
"## _ _ _ _ ##\n" +
"## | | (_) (_) | ##\n" +
"## | | ... |
<<<<<<<
CatalogAndSchema getDefaultSchema();
=======
/**
* Types like int4 in postgres cannot have a modifier. e.g. int4(10)
* Checks whether the type is allowed to have a modifier
*
* @param typeName type name
* @return Whether data type can have a modifier
*/
boolean data... |
<<<<<<<
futureRollbackSQL(count, null, contexts, labelExpression, output);
}
public void futureRollbackSQL(String tag, Contexts contexts, LabelExpression labelExpression, Writer output) throws LiquibaseException {
futureRollbackSQL(null, tag, contexts, labelExpression, output);
}
prote... |
<<<<<<<
resourceAccessor = getResourceAccessor(artifactClassLoader);
}
catch (MojoExecutionException e) {
=======
fileOpener = getFileOpener(artifactClassLoader);
} catch (MojoExecutionException e) {
>>>>>>>
resourceAccessor = getResourceAccessor(artifactCl... |
<<<<<<<
import liquibase.database.core.OracleDatabase;
=======
import liquibase.database.core.MSSQLDatabase;
>>>>>>>
import liquibase.database.core.MSSQLDatabase;
import liquibase.database.core.OracleDatabase;
<<<<<<<
if (!(referenceDatabase instanceof PostgresDatabase || referenceDatabase instanceof Or... |
<<<<<<<
import liquibase.database.core.MariaDBDatabase;
import liquibase.database.core.MySQLDatabase;
=======
import liquibase.database.core.OracleDatabase;
import liquibase.database.jvm.JdbcConnection;
>>>>>>>
import liquibase.database.core.OracleDatabase;
import liquibase.database.jvm.JdbcConnection;
import liquib... |
<<<<<<<
import liquibase.statement.core.InsertStatement;
=======
import liquibase.statement.InsertExecutablePreparedStatement;
>>>>>>>
import liquibase.statement.InsertExecutablePreparedStatement;
import liquibase.statement.core.InsertStatement;
<<<<<<<
// Ensure eaech line has the ... |
<<<<<<<
if ((database instanceof AbstractDb2Database) || (database instanceof FirebirdDatabase)) {
=======
if ((database instanceof Firebird3Database)) {
return new DatabaseDataType("BOOLEAN");
}
if ((database instanceof DB2Database) || (database instanceof FirebirdDatabase... |
<<<<<<<
=======
import liquibase.database.core.FirebirdDatabase;
import liquibase.database.core.H2Database;
import liquibase.database.core.HsqlDatabase;
import liquibase.database.core.MySQLDatabase;
import liquibase.exception.ValidationErrors;
>>>>>>>
import liquibase.exception.ValidationErrors;
<<<<<<<
@DatabaseCh... |
<<<<<<<
import liquibase.changelog.DatabaseChangeLog;
=======
import liquibase.changelog.visitor.ChangeExecListener;
>>>>>>>
import liquibase.changelog.DatabaseChangeLog;
import liquibase.changelog.visitor.ChangeExecListener; |
<<<<<<<
=======
import org.hibernate.Session;
import org.jboss.seam.Component;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Destroy;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Observer;
import org.jboss.seam.annotations.Scope;
import org.jboss.seam.annotations.Sync... |
<<<<<<<
@Override
public int getMaxFractionalDigitsForTimestamp() {
// http://www.h2database.com/html/datatypes.html seems to imply 9 digits
return 9;
}
=======
public boolean supportsMinMaxForSequences() {
try {
if (getDatabaseMajorVersion() > MAJOR_VERSION_FOR_... |
<<<<<<<
/**
* Produce a random identifer of the given length, consisting only of uppercase letters.
* @param len desired length of the string
* @return an identifier of the desired length
*/
public static String randomIdentifer(int len) {
final String AB = "ABCDEFGHIJKLMNOPQRSTUVWXYZ... |
<<<<<<<
=======
import lombok.extern.slf4j.Slf4j;
import net.customware.gwt.dispatch.server.ExecutionContext;
import net.customware.gwt.dispatch.shared.ActionException;
>>>>>>>
import lombok.extern.slf4j.Slf4j;
import net.customware.gwt.dispatch.server.ExecutionContext;
import net.customware.gwt.dispatch.shared.Act... |
<<<<<<<
import liquibase.util.StreamUtil;
import liquibase.util.StringUtil;
=======
import liquibase.util.StringUtils;
>>>>>>>
import liquibase.util.StringUtil; |
<<<<<<<
public static final String ALWAYS_OVERRIDE_STORED_LOGIC_SCHEMA = "alwaysOverrideStoredLogicSchema";
=======
public static final String GENERATED_CHANGESET_IDS_INCLUDE_DESCRIPTION = "generatedChangeSetIdsContainsDescription";
>>>>>>>
public static final String ALWAYS_OVERRIDE_STORED_LOGIC_SCHEMA =... |
<<<<<<<
public void setShowOperationButtons(boolean showButtons)
{
operationsPanel.setVisible(showButtons);
}
=======
>>>>>>>
public void setShowOperationButtons(boolean showButtons)
{
operationsPanel.setVisible(showButtons);
} |
<<<<<<<
import liquibase.logging.LogService;
import liquibase.logging.LogType;
=======
import liquibase.logging.LogFactory;
>>>>>>>
import liquibase.logging.LogFactory;
import liquibase.logging.LogService;
import liquibase.logging.LogType;
<<<<<<<
=======
import liquibase.sql.CallableSql;
import liquibase.sql.Sql... |
<<<<<<<
@DatabaseChangeProperty(description = "Remarks of the column")
public String getRemarks() {
return remarks;
}
public void setRemarks(String remarks) {
this.remarks = remarks;
}
=======
@Override
>>>>>>>
@DatabaseChangeProperty(description = "Remarks of the column... |
<<<<<<<
.addColumn("ID", DataTypeFactory.getInstance().fromDescription(charTypeName + "(" + getIdColumnSize() + ")", database), null, null, new NotNullConstraint())
.addColumn("AUTHOR", DataTypeFactory.getInstance().fromDescription(charTypeName + "(" + getAuthorColumnSize() + ")", databa... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.