summaryrefslogtreecommitdiff
path: root/src/plugins/android/javaeditor.cpp
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2022-09-27 08:50:58 +0200
committerhjk <hjk@qt.io>2022-09-28 07:01:25 +0000
commit5eae2a2c426c8be045e72e6ca3e8f9c3652ed567 (patch)
tree47750c48dcdb7093e089e176d5e7e02c1deb4c84 /src/plugins/android/javaeditor.cpp
parent4a5c3d871df5dbda5fe01d4f217504af0a1405fc (diff)
downloadqt-creator-5eae2a2c426c8be045e72e6ca3e8f9c3652ed567.tar.gz
Android: Clean up javaeditor a bit
Change-Id: I600916ecb1f851c52efa742022e0cab3c23cabd6 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Diffstat (limited to 'src/plugins/android/javaeditor.cpp')
-rw-r--r--src/plugins/android/javaeditor.cpp14
1 files changed, 5 insertions, 9 deletions
diff --git a/src/plugins/android/javaeditor.cpp b/src/plugins/android/javaeditor.cpp
index c29417393c..843b3158b4 100644
--- a/src/plugins/android/javaeditor.cpp
+++ b/src/plugins/android/javaeditor.cpp
@@ -5,21 +5,18 @@
#include "javaindenter.h"
#include "androidconstants.h"
-#include <texteditor/codeassist/keywordscompletionassist.h>
#include <coreplugin/editormanager/ieditorfactory.h>
+
+#include <texteditor/codeassist/keywordscompletionassist.h>
#include <texteditor/textdocument.h>
#include <texteditor/texteditoractionhandler.h>
#include <texteditor/texteditorconstants.h>
#include <texteditor/texteditor.h>
-#include <extensionsystem/pluginmanager.h>
-#include <utils/fileutils.h>
+#include <utils/filepath.h>
#include <utils/uncommentselection.h>
-#include <QFileInfo>
-
-namespace Android {
-namespace Internal {
+namespace Android::Internal {
static TextEditor::TextDocument *createJavaDocument()
{
@@ -55,5 +52,4 @@ JavaEditorFactory::JavaEditorFactory()
setCompletionAssistProvider(new TextEditor::KeywordsCompletionAssistProvider(keywords));
}
-} // namespace Internal
-} // namespace Android
+} // Android::Internal