Skip to content

Commit

Permalink
feat: add java8compat module (wip)
Browse files Browse the repository at this point in the history
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
  • Loading branch information
miurahr committed Oct 5, 2023
1 parent b50d10d commit b216907
Show file tree
Hide file tree
Showing 65 changed files with 1,921 additions and 16 deletions.
132 changes: 132 additions & 0 deletions languagetool-language-modules/language-java8compat/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -128,18 +128,150 @@
<version>${revision}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.languagetool</groupId>
<artifactId>language-es</artifactId>
<version>${revision}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.languagetool</groupId>
<artifactId>language-eo</artifactId>
<version>${revision}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.languagetool</groupId>
<artifactId>language-fa</artifactId>
<version>${revision}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.languagetool</groupId>
<artifactId>language-fr</artifactId>
<version>${revision}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.languagetool</groupId>
<artifactId>language-ga</artifactId>
<version>${revision}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.languagetool</groupId>
<artifactId>language-gl</artifactId>
<version>${revision}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.languagetool</groupId>
<artifactId>language-is</artifactId>
<version>${revision}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.languagetool</groupId>
<artifactId>language-it</artifactId>
<version>${revision}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.languagetool</groupId>
<artifactId>language-ja</artifactId>
<version>${revision}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.languagetool</groupId>
<artifactId>language-km</artifactId>
<version>${revision}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.languagetool</groupId>
<artifactId>language-lt</artifactId>
<version>${revision}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.languagetool</groupId>
<artifactId>language-ml</artifactId>
<version>${revision}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.languagetool</groupId>
<artifactId>language-nl</artifactId>
<version>${revision}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.languagetool</groupId>
<artifactId>language-pl</artifactId>
<version>${revision}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.languagetool</groupId>
<artifactId>language-pt</artifactId>
<version>${revision}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.languagetool</groupId>
<artifactId>language-ro</artifactId>
<version>${revision}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.languagetool</groupId>
<artifactId>language-ru</artifactId>
<version>${revision}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.languagetool</groupId>
<artifactId>language-sk</artifactId>
<version>${revision}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.languagetool</groupId>
<artifactId>language-sl</artifactId>
<version>${revision}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.languagetool</groupId>
<artifactId>language-sv</artifactId>
<version>${revision}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.languagetool</groupId>
<artifactId>language-ta</artifactId>
<version>${revision}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.languagetool</groupId>
<artifactId>language-tl</artifactId>
<version>${revision}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.languagetool</groupId>
<artifactId>language-uk</artifactId>
<version>${revision}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.languagetool</groupId>
<artifactId>language-zh</artifactId>
<version>${revision}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/* LanguageTool, a natural language style checker
* Copyright (C) 2023 Hiroshi Miura
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
* USA
*/
package org.languagetool.language;

public class AngolaPortuguese extends AbstractLanguageProxy {
public AngolaPortuguese() {
super("org.languagetool.language.pt.AngolaPortuguese");
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/* LanguageTool, a natural language style checker
* Copyright (C) 2023 Hiroshi Miura
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
* USA
*/
package org.languagetool.language;

public class BelgianDutch extends AbstractLanguageProxy {
public BelgianDutch() {
super("org.languagetool.language.nl.BelgianDutch");
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/* LanguageTool, a natural language style checker
* Copyright (C) 2023 Hiroshi Miura
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
* USA
*/
package org.languagetool.language;

public class BelgianFrench extends AbstractLanguageProxy {
public BelgianFrench() {
super("org.languagetool.language.fr.BelgianFrench");
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/* LanguageTool, a natural language style checker
* Copyright (C) 2023 Hiroshi Miura
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
* USA
*/
package org.languagetool.language;

public class BrazilianPortuguese extends AbstractLanguageProxy {
public BrazilianPortuguese() {
super("org.languagetool.language.pt.BrazilianPortuguese");
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/* LanguageTool, a natural language style checker
* Copyright (C) 2023 Hiroshi Miura
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
* USA
*/
package org.languagetool.language;

public class CanadianFrench extends AbstractLanguageProxy {
public CanadianFrench() {
super("org.languagetool.language.fr.CanadianFrench");
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/* LanguageTool, a natural language style checker
* Copyright (C) 2023 Hiroshi Miura
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
* USA
*/
package org.languagetool.language;

public class Chinese extends AbstractLanguageProxy {
public Chinese() {
super("org.languagetool.language.zh.Chinese");
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
*/
package org.languagetool.language;

@Deprecated
public class Danish extends AbstractLanguageProxy {
public Danish() {
super("org.languagetool.language.da.Danish");
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/* LanguageTool, a natural language style checker
* Copyright (C) 2023 Hiroshi Miura
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
* USA
*/
package org.languagetool.language;

public class Dutch extends AbstractLanguageProxy {
public Dutch() {
super("org.languagetool.language.nl.Dutch");
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/* LanguageTool, a natural language style checker
* Copyright (C) 2023 Hiroshi Miura
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
* USA
*/
package org.languagetool.language;

public class French extends AbstractLanguageProxy {
public French() {
super("org.languagetool.language.fr.French");
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/* LanguageTool, a natural language style checker
* Copyright (C) 2023 Hiroshi Miura
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
* USA
*/
package org.languagetool.language;

public class Galician extends AbstractLanguageProxy {
public Galician() {
super("org.languagetool.language.gl.Galician");
}
}
Loading

0 comments on commit b216907

Please sign in to comment.