diff options
author | Sven Gothel <[email protected]> | 2020-08-27 23:50:19 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2020-08-27 23:50:19 +0200 |
commit | 0c35f8115fbe76de2f8a250c4cfd2606d1111557 (patch) | |
tree | bab5dda298c73438bc72f03245296725f710da7c /src | |
parent | 78a803f25622de0f2ff3cd603ce69220e787ef60 (diff) |
BluetoothFactory, DBTEnv: Only pass '[org.]tinyb.*' and 'direct_bt.*' properties to native environment, remove the 'jvm.' prefix!
Make it more simple.
Diffstat (limited to 'src')
-rw-r--r-- | src/direct_bt/DBTEnv.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
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(); } } |