title: Cannot assign a value to final variable
body: <p>Here's my code:</p>
  
  <pre><code>public String getGPA() {
          String gpa = null;
          final String responseBody1;
          new Thread(new Runnable(){
              public void run()
              {
                  try {
                      HttpGet httpGet_gpa = new HttpGet("https://somedomain.com" + getRegId() + "&amp;format=P");
                      HttpResponse response = httpClient.execute(httpGet_gpa);
                      responseBody1 = EntityUtils.toString(response.getEntity());
                  } catch (ClientProtocolException cpe) {
                      // Ignore
                  } catch (IOException ioe) {
                      // Ignore
                  }
              }
          }).start();
          Document gpa_doc = Jsoup.parse(responseBody1);
          Element p = gpa_doc.select("p").first();
          gpa = p.text().replace("Your overall GPA (Grade Point Average) to date is:", "");
          return gpa;
      }
  </code></pre>
  
  <p>I'm getting this error: <code>cannot assign a value to final variable responseBody1</code>. What does this mean? I tried removing the final modifier but it tells me I need to make it final, but when I do i get that error. Any clues on why this is happening and how to fix it?</p>