summaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/java.py
diff options
context:
space:
mode:
authorHiPhish <hiphish@posteo.de>2023-04-09 20:00:51 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2023-04-11 17:10:01 +0300
commit439a61affab391d44341ac3113592698abd4143b (patch)
tree6fd31f98446f2aaf7d4f7062f102abbf23f021fb /mesonbuild/compilers/java.py
parenta912193fd8ed5e673009e879c088aa70b297811a (diff)
downloadmeson-439a61affab391d44341ac3113592698abd4143b.tar.gz
Change "can not" to "cannot" throughout project
The word "cannot" expresses inability to do something whereas "can not" expresses the ability to refrain from doing something.
Diffstat (limited to 'mesonbuild/compilers/java.py')
-rw-r--r--mesonbuild/compilers/java.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/compilers/java.py b/mesonbuild/compilers/java.py
index ebae5091f..42cf0a159 100644
--- a/mesonbuild/compilers/java.py
+++ b/mesonbuild/compilers/java.py
@@ -97,7 +97,7 @@ class JavaCompiler(BasicLinkerIsCompilerMixin, Compiler):
pc = subprocess.Popen(self.exelist + [src], cwd=work_dir)
pc.wait()
if pc.returncode != 0:
- raise EnvironmentException(f'Java compiler {self.name_string()} can not compile programs.')
+ raise EnvironmentException(f'Java compiler {self.name_string()} cannot compile programs.')
runner = shutil.which(self.javarunner)
if runner:
cmdlist = [runner, obj]