Skip to content

Commit 02c322d

Browse files
authored
Fixed coding style issues reported by codacy (#39)
* Fixed coding style issues reported by codacy * Applied walkmod to update all file licenses
1 parent e0a9f63 commit 02c322d

File tree

145 files changed

+5011
-2279
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

145 files changed

+5011
-2279
lines changed

src/main/java/ldbc/snb/datagen/dictionary/BrowserDictionary.java

Lines changed: 35 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,38 @@
1-
/*
2-
* Copyright (c) 2013 LDBC
3-
* Linked Data Benchmark Council (http://ldbc.eu)
4-
*
5-
* This file is part of ldbc_socialnet_dbgen.
6-
*
7-
* ldbc_socialnet_dbgen is free software: you can redistribute it and/or modify
8-
* it under the terms of the GNU General Public License as published by
9-
* the Free Software Foundation, either version 3 of the License, or
10-
* (at your option) any later version.
11-
*
12-
* ldbc_socialnet_dbgen is distributed in the hope that it will be useful,
13-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15-
* GNU General Public License for more details.
16-
*
17-
* You should have received a copy of the GNU General Public License
18-
* along with ldbc_socialnet_dbgen. If not, see <http://www.gnu.org/licenses/>.
19-
*
20-
* Copyright (C) 2011 OpenLink Software <[email protected]>
21-
* All Rights Reserved.
22-
*
23-
* This program is free software; you can redistribute it and/or modify
24-
* it under the terms of the GNU General Public License as published by
25-
* the Free Software Foundation; only Version 2 of the License dated
26-
* June 1991.
27-
*
28-
* This program is distributed in the hope that it will be useful,
29-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
30-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
31-
* GNU General Public License for more details.
32-
*
33-
* You should have received a copy of the GNU General Public License
34-
* along with this program; if not, write to the Free Software
35-
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
36-
*/
1+
/*
2+
Copyright (c) 2013 LDBC
3+
Linked Data Benchmark Council (http://www.ldbcouncil.org)
4+
5+
This file is part of ldbc_snb_datagen.
6+
7+
ldbc_snb_datagen is free software: you can redistribute it and/or modify
8+
it under the terms of the GNU General Public License as published by
9+
the Free Software Foundation, either version 3 of the License, or
10+
(at your option) any later version.
11+
12+
ldbc_snb_datagen is distributed in the hope that it will be useful,
13+
but WITHOUT ANY WARRANTY; without even the implied warranty of
14+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15+
GNU General Public License for more details.
16+
17+
You should have received a copy of the GNU General Public License
18+
along with ldbc_snb_datagen. If not, see <http://www.gnu.org/licenses/>.
19+
20+
Copyright (C) 2011 OpenLink Software <[email protected]>
21+
All Rights Reserved.
22+
23+
This program is free software; you can redistribute it and/or modify
24+
it under the terms of the GNU General Public License as published by
25+
the Free Software Foundation; only Version 2 of the License dated
26+
June 1991.
27+
28+
This program is distributed in the hope that it will be useful,
29+
but WITHOUT ANY WARRANTY; without even the implied warranty of
30+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
31+
GNU General Public License for more details.
32+
33+
You should have received a copy of the GNU General Public License
34+
along with this program; if not, write to the Free Software
35+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.*/
3736
package ldbc.snb.datagen.dictionary;
3837

3938
import ldbc.snb.datagen.generator.DatagenParams;

src/main/java/ldbc/snb/datagen/dictionary/CompanyDictionary.java

Lines changed: 35 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,38 @@
1-
/*
2-
* Copyright (c) 2013 LDBC
3-
* Linked Data Benchmark Council (http://ldbc.eu)
4-
*
5-
* This file is part of ldbc_socialnet_dbgen.
6-
*
7-
* ldbc_socialnet_dbgen is free software: you can redistribute it and/or modify
8-
* it under the terms of the GNU General Public License as published by
9-
* the Free Software Foundation, either version 3 of the License, or
10-
* (at your option) any later version.
11-
*
12-
* ldbc_socialnet_dbgen is distributed in the hope that it will be useful,
13-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15-
* GNU General Public License for more details.
16-
*
17-
* You should have received a copy of the GNU General Public License
18-
* along with ldbc_socialnet_dbgen. If not, see <http://www.gnu.org/licenses/>.
19-
*
20-
* Copyright (C) 2011 OpenLink Software <[email protected]>
21-
* All Rights Reserved.
22-
*
23-
* This program is free software; you can redistribute it and/or modify
24-
* it under the terms of the GNU General Public License as published by
25-
* the Free Software Foundation; only Version 2 of the License dated
26-
* June 1991.
27-
*
28-
* This program is distributed in the hope that it will be useful,
29-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
30-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
31-
* GNU General Public License for more details.
32-
*
33-
* You should have received a copy of the GNU General Public License
34-
* along with this program; if not, write to the Free Software
35-
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
36-
*/
1+
/*
2+
Copyright (c) 2013 LDBC
3+
Linked Data Benchmark Council (http://www.ldbcouncil.org)
4+
5+
This file is part of ldbc_snb_datagen.
6+
7+
ldbc_snb_datagen is free software: you can redistribute it and/or modify
8+
it under the terms of the GNU General Public License as published by
9+
the Free Software Foundation, either version 3 of the License, or
10+
(at your option) any later version.
11+
12+
ldbc_snb_datagen is distributed in the hope that it will be useful,
13+
but WITHOUT ANY WARRANTY; without even the implied warranty of
14+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15+
GNU General Public License for more details.
16+
17+
You should have received a copy of the GNU General Public License
18+
along with ldbc_snb_datagen. If not, see <http://www.gnu.org/licenses/>.
19+
20+
Copyright (C) 2011 OpenLink Software <[email protected]>
21+
All Rights Reserved.
22+
23+
This program is free software; you can redistribute it and/or modify
24+
it under the terms of the GNU General Public License as published by
25+
the Free Software Foundation; only Version 2 of the License dated
26+
June 1991.
27+
28+
This program is distributed in the hope that it will be useful,
29+
but WITHOUT ANY WARRANTY; without even the implied warranty of
30+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
31+
GNU General Public License for more details.
32+
33+
You should have received a copy of the GNU General Public License
34+
along with this program; if not, write to the Free Software
35+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.*/
3736
package ldbc.snb.datagen.dictionary;
3837

3938
import ldbc.snb.datagen.generator.DatagenParams;

src/main/java/ldbc/snb/datagen/dictionary/Dictionaries.java

Lines changed: 37 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,38 @@
1-
/*
2-
* To change this license header, choose License Headers in Project Properties.
3-
* To change this template file, choose Tools | Templates
4-
* and open the template in the editor.
5-
*/
1+
/*
2+
Copyright (c) 2013 LDBC
3+
Linked Data Benchmark Council (http://www.ldbcouncil.org)
4+
5+
This file is part of ldbc_snb_datagen.
6+
7+
ldbc_snb_datagen is free software: you can redistribute it and/or modify
8+
it under the terms of the GNU General Public License as published by
9+
the Free Software Foundation, either version 3 of the License, or
10+
(at your option) any later version.
11+
12+
ldbc_snb_datagen is distributed in the hope that it will be useful,
13+
but WITHOUT ANY WARRANTY; without even the implied warranty of
14+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15+
GNU General Public License for more details.
16+
17+
You should have received a copy of the GNU General Public License
18+
along with ldbc_snb_datagen. If not, see <http://www.gnu.org/licenses/>.
19+
20+
Copyright (C) 2011 OpenLink Software <[email protected]>
21+
All Rights Reserved.
22+
23+
This program is free software; you can redistribute it and/or modify
24+
it under the terms of the GNU General Public License as published by
25+
the Free Software Foundation; only Version 2 of the License dated
26+
June 1991.
27+
28+
This program is distributed in the hope that it will be useful,
29+
but WITHOUT ANY WARRANTY; without even the implied warranty of
30+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
31+
GNU General Public License for more details.
32+
33+
You should have received a copy of the GNU General Public License
34+
along with this program; if not, write to the Free Software
35+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.*/
636
package ldbc.snb.datagen.dictionary;
737

838
import ldbc.snb.datagen.generator.DatagenParams;
@@ -43,8 +73,8 @@ public static void loadDictionaries(Configuration conf) {
4373
new GregorianCalendar(DatagenParams.endYear,
4474
DatagenParams.endMonth,
4575
DatagenParams.endDate),
46-
DatagenParams.alpha,
47-
DatagenParams.deltaTime);
76+
DatagenParams.alpha
77+
);
4878

4979

5080
emails = new EmailDictionary();

src/main/java/ldbc/snb/datagen/dictionary/EmailDictionary.java

Lines changed: 35 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,38 @@
1-
/*
2-
* Copyright (c) 2013 LDBC
3-
* Linked Data Benchmark Council (http://ldbc.eu)
4-
*
5-
* This file is part of ldbc_socialnet_dbgen.
6-
*
7-
* ldbc_socialnet_dbgen is free software: you can redistribute it and/or modify
8-
* it under the terms of the GNU General Public License as published by
9-
* the Free Software Foundation, either version 3 of the License, or
10-
* (at your option) any later version.
11-
*
12-
* ldbc_socialnet_dbgen is distributed in the hope that it will be useful,
13-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15-
* GNU General Public License for more details.
16-
*
17-
* You should have received a copy of the GNU General Public License
18-
* along with ldbc_socialnet_dbgen. If not, see <http://www.gnu.org/licenses/>.
19-
*
20-
* Copyright (C) 2011 OpenLink Software <[email protected]>
21-
* All Rights Reserved.
22-
*
23-
* This program is free software; you can redistribute it and/or modify
24-
* it under the terms of the GNU General Public License as published by
25-
* the Free Software Foundation; only Version 2 of the License dated
26-
* June 1991.
27-
*
28-
* This program is distributed in the hope that it will be useful,
29-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
30-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
31-
* GNU General Public License for more details.
32-
*
33-
* You should have received a copy of the GNU General Public License
34-
* along with this program; if not, write to the Free Software
35-
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
36-
*/
1+
/*
2+
Copyright (c) 2013 LDBC
3+
Linked Data Benchmark Council (http://www.ldbcouncil.org)
4+
5+
This file is part of ldbc_snb_datagen.
6+
7+
ldbc_snb_datagen is free software: you can redistribute it and/or modify
8+
it under the terms of the GNU General Public License as published by
9+
the Free Software Foundation, either version 3 of the License, or
10+
(at your option) any later version.
11+
12+
ldbc_snb_datagen is distributed in the hope that it will be useful,
13+
but WITHOUT ANY WARRANTY; without even the implied warranty of
14+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15+
GNU General Public License for more details.
16+
17+
You should have received a copy of the GNU General Public License
18+
along with ldbc_snb_datagen. If not, see <http://www.gnu.org/licenses/>.
19+
20+
Copyright (C) 2011 OpenLink Software <[email protected]>
21+
All Rights Reserved.
22+
23+
This program is free software; you can redistribute it and/or modify
24+
it under the terms of the GNU General Public License as published by
25+
the Free Software Foundation; only Version 2 of the License dated
26+
June 1991.
27+
28+
This program is distributed in the hope that it will be useful,
29+
but WITHOUT ANY WARRANTY; without even the implied warranty of
30+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
31+
GNU General Public License for more details.
32+
33+
You should have received a copy of the GNU General Public License
34+
along with this program; if not, write to the Free Software
35+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.*/
3736
package ldbc.snb.datagen.dictionary;
3837

3938
import ldbc.snb.datagen.generator.DatagenParams;

src/main/java/ldbc/snb/datagen/dictionary/FlashmobTagDictionary.java

Lines changed: 35 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,38 @@
1-
/*
2-
* Copyright (c) 2013 LDBC
3-
* Linked Data Benchmark Council (http://ldbc.eu)
4-
*
5-
* This file is part of ldbc_socialnet_dbgen.
6-
*
7-
* ldbc_socialnet_dbgen is free software: you can redistribute it and/or modify
8-
* it under the terms of the GNU General Public License as published by
9-
* the Free Software Foundation, either version 3 of the License, or
10-
* (at your option) any later version.
11-
*
12-
* ldbc_socialnet_dbgen is distributed in the hope that it will be useful,
13-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15-
* GNU General Public License for more details.
16-
*
17-
* You should have received a copy of the GNU General Public License
18-
* along with ldbc_socialnet_dbgen. If not, see <http://www.gnu.org/licenses/>.
19-
*
20-
* Copyright (C) 2011 OpenLink Software <[email protected]>
21-
* All Rights Reserved.
22-
*
23-
* This program is free software; you can redistribute it and/or modify
24-
* it under the terms of the GNU General Public License as published by
25-
* the Free Software Foundation; only Version 2 of the License dated
26-
* June 1991.
27-
*
28-
* This program is distributed in the hope that it will be useful,
29-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
30-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
31-
* GNU General Public License for more details.
32-
*
33-
* You should have received a copy of the GNU General Public License
34-
* along with this program; if not, write to the Free Software
35-
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
36-
*/
1+
/*
2+
Copyright (c) 2013 LDBC
3+
Linked Data Benchmark Council (http://www.ldbcouncil.org)
4+
5+
This file is part of ldbc_snb_datagen.
6+
7+
ldbc_snb_datagen is free software: you can redistribute it and/or modify
8+
it under the terms of the GNU General Public License as published by
9+
the Free Software Foundation, either version 3 of the License, or
10+
(at your option) any later version.
11+
12+
ldbc_snb_datagen is distributed in the hope that it will be useful,
13+
but WITHOUT ANY WARRANTY; without even the implied warranty of
14+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15+
GNU General Public License for more details.
16+
17+
You should have received a copy of the GNU General Public License
18+
along with ldbc_snb_datagen. If not, see <http://www.gnu.org/licenses/>.
19+
20+
Copyright (C) 2011 OpenLink Software <[email protected]>
21+
All Rights Reserved.
22+
23+
This program is free software; you can redistribute it and/or modify
24+
it under the terms of the GNU General Public License as published by
25+
the Free Software Foundation; only Version 2 of the License dated
26+
June 1991.
27+
28+
This program is distributed in the hope that it will be useful,
29+
but WITHOUT ANY WARRANTY; without even the implied warranty of
30+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
31+
GNU General Public License for more details.
32+
33+
You should have received a copy of the GNU General Public License
34+
along with this program; if not, write to the Free Software
35+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.*/
3736
package ldbc.snb.datagen.dictionary;
3837

3938
import ldbc.snb.datagen.generator.DateGenerator;

0 commit comments

Comments
 (0)