Snippets

Alessio Caiazza android lint UnusedResources detector

Created by Alessio Caiazza
<?xml version="1.0"?>
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
   <xsl:output method="text"/>
  <xsl:template match="/issues">
      <xsl:apply-templates select="issue[@id = 'UnusedResources'][not(location/@line) and not(location/@column)]"/>
  </xsl:template>
  <xsl:template match="issue">
      <xsl:apply-templates select="location"/>
  </xsl:template>
  <xsl:template match="location[not(@line)][not(@column)]">
      git rm <xsl:value-of select="@file"/>
  </xsl:template>
</xsl:stylesheet>

Comments (0)

HTTPS SSH

You can clone a snippet to your computer for local editing. Learn more.