Skip to content

Commit

Permalink
Merge pull request #9 from spacious-team/develop
Browse files Browse the repository at this point in the history
Релиз 2021.6
  • Loading branch information
vananiev authored May 16, 2021
2 parents 82bd810 + 256470a commit 6882374
Show file tree
Hide file tree
Showing 26 changed files with 31 additions and 27 deletions.
2 changes: 1 addition & 1 deletion .idea/copyright/GNU_AGPLv3.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Table Wrapper API
~ Copyright (C) 2020 Vitalii Ananev <an-vitek@ya.ru>
~ Copyright (C) 2020 Vitalii Ananev <spacious-team@ya.ru>
~
~ This program is free software: you can redistribute it and/or modify
~ it under the terms of the GNU Affero General Public License as
Expand All @@ -24,7 +24,7 @@

<groupId>org.spacious-team</groupId>
<artifactId>table-wrapper-api</artifactId>
<version>2021.5</version>
<version>2021.6</version>
<packaging>jar</packaging>

<name>Table Wrapper API</name>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Table Wrapper API
* Copyright (C) 2021 Vitalii Ananev <an-vitek@ya.ru>
* Copyright (C) 2021 Vitalii Ananev <spacious-team@ya.ru>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Table Wrapper API
* Copyright (C) 2020 Vitalii Ananev <an-vitek@ya.ru>
* Copyright (C) 2020 Vitalii Ananev <spacious-team@ya.ru>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Table Wrapper API
* Copyright (C) 2020 Vitalii Ananev <an-vitek@ya.ru>
* Copyright (C) 2020 Vitalii Ananev <spacious-team@ya.ru>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Table Wrapper API
* Copyright (C) 2021 Vitalii Ananev <an-vitek@ya.ru>
* Copyright (C) 2021 Vitalii Ananev <spacious-team@ya.ru>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Table Wrapper API
* Copyright (C) 2021 Vitalii Ananev <an-vitek@ya.ru>
* Copyright (C) 2021 Vitalii Ananev <spacious-team@ya.ru>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Table Wrapper API
* Copyright (C) 2020 Vitalii Ananev <an-vitek@ya.ru>
* Copyright (C) 2020 Vitalii Ananev <spacious-team@ya.ru>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Table Wrapper API
* Copyright (C) 2021 Vitalii Ananev <an-vitek@ya.ru>
* Copyright (C) 2021 Vitalii Ananev <spacious-team@ya.ru>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Table Wrapper API
* Copyright (C) 2020 Vitalii Ananev <an-vitek@ya.ru>
* Copyright (C) 2020 Vitalii Ananev <spacious-team@ya.ru>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Table Wrapper API
* Copyright (C) 2020 Vitalii Ananev <an-vitek@ya.ru>
* Copyright (C) 2020 Vitalii Ananev <spacious-team@ya.ru>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Table Wrapper API
* Copyright (C) 2020 Vitalii Ananev <an-vitek@ya.ru>
* Copyright (C) 2020 Vitalii Ananev <spacious-team@ya.ru>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Table Wrapper API
* Copyright (C) 2020 Vitalii Ananev <an-vitek@ya.ru>
* Copyright (C) 2020 Vitalii Ananev <spacious-team@ya.ru>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Table Wrapper API
* Copyright (C) 2020 Vitalii Ananev <an-vitek@ya.ru>
* Copyright (C) 2020 Vitalii Ananev <spacious-team@ya.ru>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Table Wrapper API
* Copyright (C) 2020 Vitalii Ananev <an-vitek@ya.ru>
* Copyright (C) 2020 Vitalii Ananev <spacious-team@ya.ru>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Table Wrapper API
* Copyright (C) 2020 Vitalii Ananev <an-vitek@ya.ru>
* Copyright (C) 2020 Vitalii Ananev <spacious-team@ya.ru>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Table Wrapper API
* Copyright (C) 2020 Vitalii Ananev <an-vitek@ya.ru>
* Copyright (C) 2020 Vitalii Ananev <spacious-team@ya.ru>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Table Wrapper API
* Copyright (C) 2020 Vitalii Ananev <an-vitek@ya.ru>
* Copyright (C) 2020 Vitalii Ananev <spacious-team@ya.ru>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Table Wrapper API
* Copyright (C) 2020 Vitalii Ananev <an-vitek@ya.ru>
* Copyright (C) 2020 Vitalii Ananev <spacious-team@ya.ru>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Table Wrapper API
* Copyright (C) 2020 Vitalii Ananev <an-vitek@ya.ru>
* Copyright (C) 2020 Vitalii Ananev <spacious-team@ya.ru>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Table Wrapper API
* Copyright (C) 2020 Vitalii Ananev <an-vitek@ya.ru>
* Copyright (C) 2020 Vitalii Ananev <spacious-team@ya.ru>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
Expand All @@ -21,6 +21,7 @@
public interface TableColumn {
int NOCOLUMN_INDEX = -1;
TableColumn NOCOLUMN = (i, j) -> NOCOLUMN_INDEX;
TableColumn LEFTMOST_COLUMN = (firstColumnForSearch, $) -> firstColumnForSearch;

/**
* @param headerRows header rows
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Table Wrapper API
* Copyright (C) 2020 Vitalii Ananev <an-vitek@ya.ru>
* Copyright (C) 2020 Vitalii Ananev <spacious-team@ya.ru>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Table Wrapper API
* Copyright (C) 2020 Vitalii Ananev <an-vitek@ya.ru>
* Copyright (C) 2020 Vitalii Ananev <spacious-team@ya.ru>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
Expand Down Expand Up @@ -29,6 +29,9 @@ public class TableColumnImpl implements TableColumn {
private final String[] words;

public static TableColumn of(String... words) {
if (words.length == 0 || (words.length == 1 && (words[0] == null || words[0].isEmpty()))) {
return LEFTMOST_COLUMN;
}
return new TableColumnImpl(words);
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Table Wrapper API
* Copyright (C) 2020 Vitalii Ananev <an-vitek@ya.ru>
* Copyright (C) 2020 Vitalii Ananev <spacious-team@ya.ru>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Table Wrapper API
* Copyright (C) 2021 Vitalii Ananev <an-vitek@ya.ru>
* Copyright (C) 2021 Vitalii Ananev <spacious-team@ya.ru>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Table Wrapper API
* Copyright (C) 2020 Vitalii Ananev <an-vitek@ya.ru>
* Copyright (C) 2020 Vitalii Ananev <spacious-team@ya.ru>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
Expand Down

0 comments on commit 6882374

Please sign in to comment.