Skip to content

Commit

Permalink
changed group id
Browse files Browse the repository at this point in the history
Signed-off-by: Roy Ash <[email protected]>
  • Loading branch information
ashr123 committed Aug 28, 2021
1 parent 24a4288 commit c26e16d
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 92 deletions.
96 changes: 15 additions & 81 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,72 +1,6 @@

# Created by https://www.toptal.com/developers/gitignore/api/java,eclipse,intellij+all,windows,macos,linux,visualstudiocode
# Edit at https://www.toptal.com/developers/gitignore?templates=java,eclipse,intellij+all,windows,macos,linux,visualstudiocode

### Eclipse ###
.metadata
bin/
tmp/
*.tmp
*.bak
*.swp
*~.nib
local.properties
.settings/
.loadpath
.recommenders

# External tool builders
.externalToolBuilders/

# Locally stored "Eclipse launch configurations"
*.launch

# PyDev specific (Python IDE for Eclipse)
*.pydevproject

# CDT-specific (C/C++ Development Tooling)
.cproject

# CDT- autotools
.autotools

# Java annotation processor (APT)
.factorypath

# PDT-specific (PHP Development Tools)
.buildpath

# sbteclipse plugin
.target

# Tern plugin
.tern-project

# TeXlipse plugin
.texlipse

# STS (Spring Tool Suite)
.springBeans

# Code Recommenders
.recommenders/

# Annotation Processing
.apt_generated/
.apt_generated_test/

# Scala IDE specific (Scala & Java development for Eclipse)
.cache-main
.scala_dependencies
.worksheet

# Uncomment this line if you wish to ignore the project description file.
# Typically, this file would be tracked if it contains build/dependency configurations:
#.project

### Eclipse Patch ###
# Spring Boot Tooling
.sts4-cache/
# Created by https://www.toptal.com/developers/gitignore/api/macos,windows,linux,intellij+all,java,maven
# Edit at https://www.toptal.com/developers/gitignore?templates=macos,windows,linux,intellij+all,java,maven

### Intellij+all ###
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
Expand Down Expand Up @@ -226,18 +160,18 @@ Network Trash Folder
Temporary Items
.apdisk

### VisualStudioCode ###
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
*.code-workspace

### VisualStudioCode Patch ###
# Ignore all local history of files
.history
.ionide
### Maven ###
target/
pom.xml.tag
pom.xml.releaseBackup
pom.xml.versionsBackup
pom.xml.next
release.properties
dependency-reduced-pom.xml
buildNumber.properties
.mvn/timing.properties
# https://github.com/takari/maven-wrapper#usage-without-binary-jar
.mvn/wrapper/maven-wrapper.jar

### Windows ###
# Windows thumbnail cache files
Expand Down Expand Up @@ -265,4 +199,4 @@ $RECYCLE.BIN/
# Windows shortcuts
*.lnk

# End of https://www.toptal.com/developers/gitignore/api/java,eclipse,intellij+all,windows,macos,linux,visualstudiocode
# End of https://www.toptal.com/developers/gitignore/api/macos,windows,linux,intellij+all,java,maven
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>il.co</groupId>
<groupId>il.co.ashr123</groupId>
<artifactId>time-mesurment</artifactId>
<version>1.0.4</version>
<version>1.0.5</version>

<properties>
<maven.compiler.source>16</maven.compiler.source>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package il.co.timeMesurment;
package il.co.ashr123.timeMesurment;

import java.util.concurrent.Callable;
import java.util.function.Supplier;
Expand Down Expand Up @@ -26,4 +26,4 @@ public static Result<Void> measureAndExecute(final Runnable runnable)
final long endTime = System.nanoTime();
return new Result<>(startTime, endTime);
}
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package il.co.timeMesurment;
package il.co.ashr123.timeMesurment;

import java.util.HashMap;
import java.util.Map;
Expand Down Expand Up @@ -28,4 +28,4 @@ public void startMeasure(T key)
{
startTimes.put(key, System.nanoTime());
}
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package il.co.timeMesurment;
package il.co.ashr123.timeMesurment;

import java.util.NoSuchElementException;
import java.util.Objects;

public class Result<T>
Expand Down Expand Up @@ -29,7 +30,7 @@ public T getResult()
{
if (isContainsResult)
return result;
throw new IllegalStateException("Doesn't have a result!");
throw new NoSuchElementException("No result present");
}

public double getTimeTaken()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package il.co.timeMesurment;
package il.co.ashr123.timeMesurment;

import java.util.function.Supplier;

Expand Down Expand Up @@ -27,4 +27,4 @@ public final T get()
}
return result;
}
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package il.co.timeMesurment;
package il.co.ashr123.timeMesurment;

public enum TimeScales
{
Expand Down

0 comments on commit c26e16d

Please sign in to comment.