We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mariusei/file-scanner-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
Broken.java•905 B
/**
* Broken Java file for error handling testing.
*/
package com.example.broken;
import java.util.List;
/**
* Incomplete class with syntax errors.
*/
public class BrokenClass {
// Missing method body
public void incompleteMethod(String param
// Missing closing brace for method
public String anotherBroken() {
return "test";
// Malformed method signature
public invalid signature here
// Class not properly closed
}
// Extra closing brace
}
/**
* Interface with incomplete method.
*/
public interface BrokenInterface {
void method1();
void method2(
}
// Random syntax errors
class {{{
broken syntax here
}
public class PartiallyValid {
/**
* This method might still be detected.
*/
public void validMethod() {
System.out.println("This is valid");
}
// But this is not
public void broken(incomplete
}