default to O2

This commit is contained in:
CodeCodon
2015-08-06 11:22:08 -05:00
parent 4eb1fd1e33
commit b1d6744deb
3 changed files with 5 additions and 5 deletions
@@ -1121,7 +1121,7 @@ jobject JNICALL ScriptMethodsDataTableNamespace::dataTableGetRow(JNIEnv *env, jo
LocalRefPtr target = createNewObject(JavaLibrary::getClsDictionary(), JavaLibrary::getMidDictionary());
if (target == LocalRef::cms_nullPtr)
return false;
return JNI_FALSE;
for (int i = 0; i < dt->getNumColumns(); ++i)
{
@@ -1339,7 +1339,7 @@ jstring JNICALL ScriptMethodsShipNamespace::getShipComponentName(JNIEnv * env, j
{
ShipObject const * const shipObject = JavaLibrary::getShipThrow(env, jobject_shipId, "getShipComponentName() invalid ship", false);
if (!shipObject)
return false;
return NULL;
Unicode::String const & name = shipObject->getComponentName(chassisSlot);
if (!name.empty())
@@ -4073,7 +4073,7 @@ jlongArray JNICALL ScriptMethodsShipNamespace::getShipCargoHoldContentsResourceT
{
ShipObject const * const shipObject = getShipThrowTestSlot(env, jobject_shipId, "getShipCargoHoldContents()", false, static_cast<int>(ShipChassisSlotType::SCST_cargo_hold));
if (!shipObject)
return false;
return NULL;
ShipObject::NetworkIdIntMap const & contents = shipObject->getCargoHoldContents();
@@ -4099,7 +4099,7 @@ jintArray JNICALL ScriptMethodsShipNamespace::getShipCargoHoldContentsAmounts(JN
{
ShipObject const * const shipObject = getShipThrowTestSlot(env, jobject_shipId, "getShipCargoHoldContents()", false, static_cast<int>(ShipChassisSlotType::SCST_cargo_hold));
if (!shipObject)
return false;
return NULL;
ShipObject::NetworkIdIntMap const & contents = shipObject->getCargoHoldContents();