Skip to content

Commit fe25933

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents 341c84e + 8ed52ff commit fe25933

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

.travis.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
language: java
2+
sudo: false
3+
4+
script: "mvn clean install"
5+
6+
after_success:
7+
- bash <(curl -s https://codecov.io/bash)

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
[![Build Status](https://travis-ci.org/SplotyCode/Sploty4.svg?branch=master)](https://travis-ci.org/SplotyCode/Sploty4)
12
# Sploty4
23
Sploty4 Browser made with Love and Java
34

src/test/java/cpubug/debugger/Debugger.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ public Debugger(final BrowserTab browserTab) {
3030
getChildren().add(tabs);
3131
}
3232

33-
public DebugTab getDebugTabByClass(Class<? extends DebugTab> clazz) {
33+
public <T extends DebugTab> T getDebugTabByClass(Class<T> clazz) {
3434
for (final DebugTab tab : debugTabs)
3535
if (tab.getClass().equals(clazz))
36-
return tab;
36+
return (T) tab;
3737

3838
Sploty.getLogger().warn("Count not find Debugging Tab named: '" + clazz.getSimpleName() + "'");
3939
return null;

0 commit comments

Comments
 (0)