Question: I am trying to program a script in php which finds similar phrases in two pieces of text. Which I have asked this [Question](https://stackoverflow.com/questions/8587582/finding-matching-phrases-between-two-pieces-of-text)

```
  1. the cat is on the roof
  2. a man is on the stage

  A1 = [the, cat, is, on, the, roof]
  A2 = [a, man, is, on, the, stage]

  [the]: no match
  [cat]: no match
  [is]: match
  [is, on]: match
  [is, on, the]: match
  [is, on, the, roof]: no match
  [on]: match
  [on, the]: match
  [on, the, roof]: no match
  [the]: match
  [the, roof]: no match
  [roof]: no match
  -end-

```

My Code is below.

```
<?php

echo match(explode(' ',$text1), explode(' ',$text2));

function match($old, $new){
$arr;
    foreach($old as $key=>$oldword) {   
        foreach($new as $key2=>$newword) {

            if($old[$key] == $new[$key2]) { 
                array_push($arr,$old[$key]);
                echo '<span style="color:red;">'.$old[$key].' </span>';
                }
                else {
                    echo $old[$key].' ';
                }
        }
    }
}

```

I get the following output

![enter image description here](https://i.stack.imgur.com/BJSKO.png)

Why are the words repeating?

Answer: 
This worked for me to get rid of those messages. Of course Michael may still be right that ignoring them is okay.

I replaced
Drawable.createFromStream(((InputStream)new URL(urlString).getContent()), "name");
with  

Drawable.createFromStream((new URL(url)).openConnection().getInputStream(), "name");

Of course this isn't exactly your code, but I suspect that replacing getContent() with openConnection().getInputStream() would work for you too.
It's obviously an error in the Apache/Harmony framework.
I think you may ignore it, you can't change the code there, even if you want :)
It's kinda a logging stuff for the apache/harmony developers, you don't have to care about this.