summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--logic/JavaUtils.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/logic/JavaUtils.cpp b/logic/JavaUtils.cpp
index 91fa271c..5cec35b6 100644
--- a/logic/JavaUtils.cpp
+++ b/logic/JavaUtils.cpp
@@ -133,25 +133,25 @@ std::vector<java_install> JavaUtils::FindJavaPaths()
return javas;
}
#elif OSX
-std::vector<java_install> JavaUtils::FindJavaPath()
+std::vector<java_install> JavaUtils::FindJavaPaths()
{
QLOG_INFO() << "OS X Java detection incomplete - defaulting to \"java\"";
- return this->GetDefaultPath();
+ return this->GetDefaultJava();
}
#elif LINUX
-std::vector<java_install> JavaUtils::FindJavaPath()
+std::vector<java_install> JavaUtils::FindJavaPaths()
{
QLOG_INFO() << "Linux Java detection incomplete - defaulting to \"java\"";
- return this->GetDefaultPath();
+ return this->GetDefaultJava();
}
#else
-std::vector<java_install> JavaUtils::FindJavaPath()
+std::vector<java_install> JavaUtils::FindJavaPaths()
{
QLOG_INFO() << "Unknown operating system build - defaulting to \"java\"";
- return this->GetDefaultPath();
+ return this->GetDefaultJava();
}
#endif