From 0c35f8115fbe76de2f8a250c4cfd2606d1111557 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Thu, 27 Aug 2020 23:50:19 +0200 Subject: BluetoothFactory, DBTEnv: Only pass '[org.]tinyb.*' and 'direct_bt.*' properties to native environment, remove the 'jvm.' prefix! Make it more simple. --- src/direct_bt/DBTEnv.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src') diff --git a/src/direct_bt/DBTEnv.cpp b/src/direct_bt/DBTEnv.cpp index fb160334..57c143f8 100644 --- a/src/direct_bt/DBTEnv.cpp +++ b/src/direct_bt/DBTEnv.cpp @@ -42,13 +42,7 @@ std::string DBTEnv::getProperty(const std::string & name) { if( nullptr != value ) { return std::string( value ); } else { - const std::string name2 = "jvm." + name; - const char * value2 = getenv(name2.c_str()); - if( nullptr != value2 ) { - return std::string( value2 ); - } else { - return std::string(); - } + return std::string(); } } -- cgit v1.2.3