Skip to content

Commit

Permalink
internal: removed unused method
Browse files Browse the repository at this point in the history
  • Loading branch information
hrj committed Oct 17, 2016
1 parent 2415c72 commit 9b8fae0
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 31 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -308,8 +308,6 @@ public final void layout(final int availWidth, final int availHeight, final bool

protected abstract void doLayout(int availWidth, int availHeight, boolean sizeOnly);

protected abstract void doLayout(int availWidth, int availHeight, boolean expand, boolean sizeOnly);

protected final void sendGUIComponentsToParent() {
// Ensures that parent has all the components
// below this renderer node. (Parent expected to have removed them).
Expand Down
5 changes: 0 additions & 5 deletions src/HTML_Renderer/org/lobobrowser/html/renderer/RBlock.java
Original file line number Diff line number Diff line change
Expand Up @@ -334,11 +334,6 @@ public final void doLayout(final int availWidth, final int availHeight, final bo
this.doLayout(availWidth, availHeight, true, false, null, this.defaultOverflowX, this.defaultOverflowY, sizeOnly);
}

@Override
public void doLayout(final int availWidth, final int availHeight, final boolean expand, final boolean sizeOnly) {
this.doLayout(availWidth, availHeight, expand, expand, null, this.defaultOverflowX, this.defaultOverflowY, sizeOnly);
}

public void doLayout(final int availWidth, final int availHeight, final boolean expandWidth, final boolean expandHeight,
final FloatingBoundsSource floatBoundsSource,
final int defaultOverflowX, final int defaultOverflowY, final boolean sizeOnly) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,13 +108,6 @@ public Component addComponent(final Component component) {
return super.addComponent(component);
}

@Override
protected void doLayout(final int availWidth, final int availHeight, final boolean expand, final boolean sizeOnly) {
this.child.doLayout(availWidth, availHeight, expand, expand, null, 0, 0, sizeOnly, true);
// TODO: Assign dimension?
// TODO: Is this method called?
}

@Override
public String toString() {
return "RInlineBlock [" + this.child + "]";
Expand Down
6 changes: 0 additions & 6 deletions src/HTML_Renderer/org/lobobrowser/html/renderer/RTable.java
Original file line number Diff line number Diff line change
Expand Up @@ -428,10 +428,4 @@ public LayoutValue(final int width, final int height) {
}
}

@Override
protected void doLayout(final int availWidth, final int availHeight, final boolean expand, final boolean sizeOnly) {
// TODO: Is it okay to ignore `expand`?
doLayout(availWidth, availHeight, sizeOnly);
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -425,12 +425,6 @@ public LayoutValue(final int width, final int height) {
}
}

@Override
protected void doLayout(final int availWidth, final int availHeight, final boolean expand, final boolean sizeOnly) {
// TODO: Is it okay to ignore `expand`?
doLayout(availWidth, availHeight, sizeOnly);
}

private boolean widthConstrained = false;
private boolean heightConstrained = false;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1723,11 +1723,6 @@ protected void doLayout(int availWidth, int availHeight, boolean sizeOnly) {
// TODO Auto-generated method stub
}

@Override
protected void doLayout(int availWidth, int availHeight, boolean expand, boolean sizeOnly) {
// TODO Auto-generated method stub
}

@Override
public @NonNull Insets getBorderInsets() {
return borderOverrider.get(super.getBorderInsets());
Expand Down

0 comments on commit 9b8fae0

Please sign in to comment.