Skip to content

Commit

Permalink
IDE-198 Resolve warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
ma-zea committed Aug 28, 2023
1 parent 78515a1 commit d175be4
Show file tree
Hide file tree
Showing 9 changed files with 32 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@

package org.catrobat.catroid.content.bricks

import org.catrobat.catroid.content.Sprite
import org.catrobat.catroid.content.actions.ScriptSequenceAction
import java.util.UUID

abstract class EndBrickBase(endBrickParent: BrickBaseType) : BrickBaseType() {
Expand All @@ -49,8 +47,5 @@ abstract class EndBrickBase(endBrickParent: BrickBaseType) : BrickBaseType() {
override fun getPositionInDragAndDropTargetList(): Int =
parent.parent.dragAndDropTargetList.indexOf(parent)

override fun addActionToSequence(sprite: Sprite?, sequence: ScriptSequenceAction?) {
}

override fun getBrickID(): UUID? = parent.brickID
}
Original file line number Diff line number Diff line change
Expand Up @@ -175,5 +175,9 @@ private static class EndBrick extends EndBrickBase {
public int getViewResource() {
return R.layout.brick_loop_end;
}

@Override
public void addActionToSequence(Sprite sprite, ScriptSequenceAction sequence) {
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -194,5 +194,9 @@ private static class EndBrick extends EndBrickBase {
public int getViewResource() {
return R.layout.brick_loop_end;
}

@Override
public void addActionToSequence(Sprite sprite, ScriptSequenceAction sequence) {
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -168,5 +168,9 @@ private static class EndBrick extends EndBrickBase {
public int getViewResource() {
return R.layout.brick_loop_end;
}

@Override
public void addActionToSequence(Sprite sprite, ScriptSequenceAction sequence) {
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -287,5 +287,9 @@ public static class EndBrick extends EndBrickBase {
public int getViewResource() {
return R.layout.brick_if_end_if;
}

@Override
public void addActionToSequence(Sprite sprite, ScriptSequenceAction sequence) {
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -187,5 +187,9 @@ private static class EndBrick extends EndBrickBase {
public int getViewResource() {
return R.layout.brick_if_end_if;
}

@Override
public void addActionToSequence(Sprite sprite, ScriptSequenceAction sequence) {
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -289,5 +289,9 @@ public static class EndBrick extends EndBrickBase {
public int getViewResource() {
return R.layout.brick_if_end_if;
}

@Override
public void addActionToSequence(Sprite sprite, ScriptSequenceAction sequence) {
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -210,5 +210,9 @@ private static class EndBrick extends EndBrickBase {
public int getViewResource() {
return R.layout.brick_loop_end;
}

@Override
public void addActionToSequence(Sprite sprite, ScriptSequenceAction sequence) {
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -177,5 +177,9 @@ private static class EndBrick extends EndBrickBase {
public int getViewResource() {
return R.layout.brick_loop_end;
}

@Override
public void addActionToSequence(Sprite sprite, ScriptSequenceAction sequence) {
}
}
}

0 comments on commit d175be4

Please sign in to comment.