Skip to content

Commit 8821f0a

Browse files
authored
Update package names (#3)
1 parent ff9e903 commit 8821f0a

73 files changed

Lines changed: 509 additions & 526 deletions

File tree

Some content is hidden

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

BirIslem/pom.xml

Lines changed: 5 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -6,46 +6,13 @@
66
<modelVersion>4.0.0</modelVersion>
77
<artifactId>BirIslem</artifactId>
88
<name>Bir İşlem Yarışması</name>
9+
<properties>
10+
<main.class>birislem.BirIslemApp</main.class>
11+
</properties>
912
<parent>
10-
<groupId>tekrei</groupId>
11-
<artifactId>JavaExamples</artifactId>
13+
<groupId>javaexamples</groupId>
14+
<artifactId>main</artifactId>
1215
<version>1.0</version>
1316
<relativePath>../pom.xml</relativePath>
1417
</parent>
15-
<build>
16-
<plugins>
17-
<plugin>
18-
<groupId>org.apache.maven.plugins</groupId>
19-
<artifactId>maven-compiler-plugin</artifactId>
20-
<version>${maven.compiler.version}</version>
21-
<configuration>
22-
<source>${java.version}</source>
23-
<target>${java.version}</target>
24-
</configuration>
25-
</plugin>
26-
27-
<plugin>
28-
<artifactId>maven-assembly-plugin</artifactId>
29-
<executions>
30-
<execution>
31-
<phase>package</phase>
32-
<goals>
33-
<goal>single</goal>
34-
</goals>
35-
<configuration>
36-
<archive>
37-
<manifest>
38-
<mainClass>net.tekrei.birislem.BirIslemApp</mainClass>
39-
</manifest>
40-
</archive>
41-
<descriptorRefs>
42-
<descriptorRef>jar-with-dependencies</descriptorRef>
43-
</descriptorRefs>
44-
<appendAssemblyId>false</appendAssemblyId>
45-
</configuration>
46-
</execution>
47-
</executions>
48-
</plugin>
49-
</plugins>
50-
</build>
5118
</project>

BirIslem/src/main/java/net/tekrei/birislem/BirIslemApp.java renamed to BirIslem/src/main/java/birislem/BirIslemApp.java

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* BirIslem Java ile yazilmis ve Genetik Algoritma kullanimini ornekleme
33
* amaci guden bir ozgur yazilimdir.
4-
* Copyright (C) 2007 T. E. KALAYCI (http://kodveus.blogspot.com)
4+
* Copyright (C) 2007
55
*
66
* BirIslem is free software; you can redistribute it and/or modify
77
* it under the terms of the GNU General Public License as published by
@@ -17,9 +17,9 @@
1717
* along with this program; if not, write to the Free Software
1818
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
1919
*/
20-
package net.tekrei.birislem;
20+
package birislem;
2121

22-
import net.tekrei.birislem.araclar.SayiArac;
22+
import birislem.araclar.SayiArac;
2323

2424
import javax.swing.*;
2525
import javax.swing.text.MaskFormatter;
@@ -29,8 +29,6 @@
2929
* Bu sinifin temel goreve uygulamayi baslatmak ve ilgili grafiksel arayuz
3030
* bilesenlerini hazirlayip yuklemek ayrica kullanici etkilesimini saglayarak
3131
* genetik algoritmanin tetiklenmesi gorevini de gerceklestirmektedir.
32-
*
33-
* @author emre
3432
*/
3533
public class BirIslemApp extends JFrame {
3634

BirIslem/src/main/java/net/tekrei/birislem/GenetikHesaplama.java renamed to BirIslem/src/main/java/birislem/GenetikHesaplama.java

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* BirIslem Java ile yazilmis ve Genetik Algoritma kullanimini ornekleme
33
* amaci guden bir ozgur yazilimdir.
4-
* Copyright (C) 2007 T. E. KALAYCI (http://kodveus.blogspot.com)
4+
* Copyright (C) 2007
55
*
66
* BirIslem is free software; you can redistribute it and/or modify
77
* it under the terms of the GNU General Public License as published by
@@ -17,9 +17,9 @@
1717
* along with this program; if not, write to the Free Software
1818
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
1919
*/
20-
package net.tekrei.birislem;
20+
package birislem;
2121

22-
import net.tekrei.birislem.araclar.SayiArac;
22+
import birislem.araclar.SayiArac;
2323

2424
import java.util.Arrays;
2525

@@ -30,8 +30,6 @@
3030
* donduruyor)
3131
* <p>
3232
* Her bir Kromozom bir bireydir.
33-
*
34-
* @author emre
3533
*/
3634
class GenetikHesaplama {
3735

BirIslem/src/main/java/net/tekrei/birislem/Kromozom.java renamed to BirIslem/src/main/java/birislem/Kromozom.java

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* BirIslem Java ile yazilmis ve Genetik Algoritma kullanimini ornekleme
33
* amaci guden bir ozgur yazilimdir.
4-
* Copyright (C) 2007 T. E. KALAYCI (http://kodveus.blogspot.com)
4+
* Copyright (C) 2007
55
*
66
* BirIslem is free software; you can redistribute it and/or modify
77
* it under the terms of the GNU General Public License as published by
@@ -17,19 +17,17 @@
1717
* along with this program; if not, write to the Free Software
1818
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
1919
*/
20-
package net.tekrei.birislem;
20+
package birislem;
2121

22-
import net.tekrei.birislem.araclar.SayiArac;
23-
import net.tekrei.birislem.exception.KesirliBolmeException;
24-
import net.tekrei.birislem.exception.SonucErkenBulunduException;
22+
import birislem.araclar.SayiArac;
23+
import birislem.exception.KesirliBolmeException;
24+
import birislem.exception.SonucErkenBulunduException;
2525

2626
import java.util.Arrays;
2727

2828
/**
2929
* Bu sinif bireylerimizin (krozomlarin) genlerini saklayan ve ilgili
3030
* metotlarini gerceklestiren siniftir.
31-
*
32-
* @author emre
3331
*/
3432
public class Kromozom implements Comparable<Kromozom> {
3533

BirIslem/src/main/java/net/tekrei/birislem/araclar/SayiArac.java renamed to BirIslem/src/main/java/birislem/araclar/SayiArac.java

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* BirIslem Java ile yazilmis ve Genetik Algoritma kullanimini ornekleme
33
* amaci guden bir ozgur yazilimdir.
4-
* Copyright (C) 2007 T. E. KALAYCI (http://kodveus.blogspot.com)
4+
* Copyright (C) 2007
55
*
66
* BirIslem is free software; you can redistribute it and/or modify
77
* it under the terms of the GNU General Public License as published by
@@ -17,18 +17,16 @@
1717
* along with this program; if not, write to the Free Software
1818
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
1919
*/
20-
package net.tekrei.birislem.araclar;
20+
package birislem.araclar;
2121

22-
import net.tekrei.birislem.exception.KesirliBolmeException;
23-
import net.tekrei.birislem.exception.SonucErkenBulunduException;
22+
import birislem.exception.KesirliBolmeException;
23+
import birislem.exception.SonucErkenBulunduException;
2424

2525
import java.util.Random;
2626

2727
/**
2828
* Bu sinif sayi hesaplama ve metine donusturme islemlerini kolaylastirmak ve
2929
* saklanmasi gereken verileri saklamak icin kullanilmaktadir
30-
*
31-
* @author emre
3230
*/
3331
public class SayiArac {
3432

BirIslem/src/main/java/net/tekrei/birislem/exception/KesirliBolmeException.java renamed to BirIslem/src/main/java/birislem/exception/KesirliBolmeException.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* BirIslem Java ile yazilmis ve Genetik Algoritma kullanimini ornekleme
33
* amaci guden bir ozgur yazilimdir.
4-
* Copyright (C) 2007 T. E. KALAYCI (http://kodveus.blogspot.com)
4+
* Copyright (C) 2007
55
*
66
* BirIslem is free software; you can redistribute it and/or modify
77
* it under the terms of the GNU General Public License as published by
@@ -17,13 +17,11 @@
1717
* along with this program; if not, write to the Free Software
1818
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
1919
*/
20-
package net.tekrei.birislem.exception;
20+
package birislem.exception;
2121

2222
/**
2323
* Bu istisna sinifinin amaci bolme isleminde tamsayi sonucu olusmamasi durumunu
2424
* belirtmek
25-
*
26-
* @author emre
2725
*/
2826
public class KesirliBolmeException extends Exception {
2927
private static final long serialVersionUID = 1L;

BirIslem/src/main/java/net/tekrei/birislem/exception/SonucErkenBulunduException.java renamed to BirIslem/src/main/java/birislem/exception/SonucErkenBulunduException.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* BirIslem Java ile yazilmis ve Genetik Algoritma kullanimini ornekleme
33
* amaci guden bir ozgur yazilimdir.
4-
* Copyright (C) 2007 T. E. KALAYCI (http://kodveus.blogspot.com)
4+
* Copyright (C) 2007
55
*
66
* BirIslem is free software; you can redistribute it and/or modify
77
* it under the terms of the GNU General Public License as published by
@@ -17,13 +17,11 @@
1717
* along with this program; if not, write to the Free Software
1818
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
1919
*/
20-
package net.tekrei.birislem.exception;
20+
package birislem.exception;
2121

2222
/**
2323
* Bu istisna hesaplama isleminde hesaplama islemi tum sayilar icin yapilmadan
2424
* once hedef sayiya ulasilmasi durumunda kullaniliyor
25-
*
26-
* @author emre
2725
*/
2826
public class SonucErkenBulunduException extends Exception {
2927
private static final long serialVersionUID = 1L;

BirIslem/src/test/java/net/tekrei/birislem/TestAll.java renamed to BirIslem/src/test/java/birislem/TestAll.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
package net.tekrei.birislem;
1+
package birislem;
22

3-
import net.tekrei.birislem.araclar.SayiArac;
4-
import net.tekrei.birislem.exception.KesirliBolmeException;
3+
import birislem.araclar.SayiArac;
4+
import birislem.exception.KesirliBolmeException;
55
import org.junit.jupiter.api.Test;
66

77
import static org.junit.jupiter.api.Assertions.*;

Chat/pom.xml

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,13 @@
66
<modelVersion>4.0.0</modelVersion>
77
<artifactId>Chat</artifactId>
88
<name>Chat Program</name>
9+
<properties>
10+
<main.class>chat.Chat</main.class>
11+
</properties>
912
<parent>
10-
<groupId>tekrei</groupId>
11-
<artifactId>JavaExamples</artifactId>
13+
<groupId>javaexamples</groupId>
14+
<artifactId>main</artifactId>
1215
<version>1.0</version>
1316
<relativePath>../pom.xml</relativePath>
1417
</parent>
15-
<build>
16-
<plugins>
17-
<plugin>
18-
<groupId>org.apache.maven.plugins</groupId>
19-
<artifactId>maven-compiler-plugin</artifactId>
20-
<version>${maven.compiler.version}</version>
21-
<configuration>
22-
<source>${java.version}</source>
23-
<target>${java.version}</target>
24-
</configuration>
25-
</plugin>
26-
</plugins>
27-
</build>
2818
</project>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package net.tekrei;
1+
package chat;
22

33
import javax.swing.*;
44
import java.awt.*;

0 commit comments

Comments
 (0)